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 permissionstring 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 permissionsArray.<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 rolestring 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 rolesArray.<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 arg0RoutingContext - Source: