a script builder
the set of global permissions. This may be empty indicating that the role has no global permissions assigned.
a Result which completes when the response is received from the server.
If the request was successful, the Result will complete successfully with a list of PathPermission.
the session's principal
a Result that completes with the security configuration
a Result that completes with the server's authentication store
a script builder
a Result that completes when the authentication handler has been registered, returning a Registration which can be used to unregister the authentication handler.
Otherwise, the Result will resolve with an error. Common reasons for failure include:
REGISTER_HANDLER
or AUTHENTICATE
permission;
control-authentication-handler
element with the given name.
null
or undefined