Class: BasicAuthHandler

vertx-apex-js/basic_auth_handler~ BasicAuthHandler

new BasicAuthHandler()

An auth handler that provides HTTP Basic Authentication support.
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: