Class IntermediateAuthenticationState
Object
se.curity.identityserver.sdk.authenticationaction.completions.IntermediateAuthenticationState
This class can be injected in the constructors of the ObligationRequestHandlers for an authentication action obligation.
It contains the result of the authentication and the actions that have run before this action.
It is not yet committed to the authenticated sessions and may differ from the end result when
all the actions are done.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the authentication attributes of the user.Returns the username of the authenticated user.
-
Constructor Details
-
IntermediateAuthenticationState
-
-
Method Details
-
getUsername
Returns the username of the authenticated user.- Returns:
- the authenticated username
- Since:
- 3.0.0
-
getAuthenticationAttributes
Returns the authentication attributes of the user.It contains the result of the authentication and the actions that have run before this action. It is not yet committed to the authenticated sessions and may differ from the end result when all the actions are done.
- Returns:
- the authentication attributes of the user
- Since:
- 3.0.0
-