Class: RedirectAuthHandler

vertx-apex-js/redirect_auth_handler~ RedirectAuthHandler

new RedirectAuthHandler()

An auth handler that's used to handle auth by redirecting user to a custom login page.
Source:

Methods

addPermission(permission) → {AuthHandler}

Add a required permission for this auth handler
Parameters:
Name Type Description
permission string the permission
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

addPermissions(permissions) → {AuthHandler}

Add a set of required permissions for this auth handler
Parameters:
Name Type Description
permissions Array.<string> the set of permissions
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

addRole(role) → {AuthHandler}

Add a required role for this auth handler
Parameters:
Name Type Description
role string the role
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

addRoles(roles) → {AuthHandler}

Add a set of required roles for this auth handler
Parameters:
Name Type Description
roles Array.<string> the set of roles
Source:
Returns:
a reference to this, so the API can be used fluently
Type
AuthHandler

handle(arg0)

Parameters:
Name Type Description
arg0 RoutingContext
Source: