Protected
Optional
authenticatedThe currently authenticated user, if one exists.
Protected
Readonly
busProtected
Readonly
loggingReadonly
nameThe name of this context.
Readonly
repositoryThe repository where users are persisted.
Protected
Readonly
requestProtected
Readonly
tokensAuthenticate the given user and persist the authentication.
Authenticate the given user, without persisting the authentication. That is, when the lifecycle ends, the user will be unauthenticated implicitly.
Get the currently authenticated user, if one exists.
Get the current user or throw an authorization error.
Base-class for a context that authenticates users and manages security.