Encapsulates information about the execution in ClientAuthenticationFlow
- 著者
- Marek Posolda
◆ attempted()
void org.keycloak.authentication.AbstractAuthenticationFlowContext.attempted |
( |
| ) |
|
|
inherited |
◆ challenge()
void org.keycloak.authentication.AbstractAuthenticationFlowContext.challenge |
( |
Response |
challenge | ) |
|
|
inherited |
Sends a challenge response back to the HTTP client. If the current execution requirement is optional, this response will not be sent. If the current execution requirement is alternative, then this challenge will be sent if no other alternative execution was successful.
- 引数
-
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
◆ failure() [1/2]
◆ failure() [2/2]
void org.keycloak.authentication.AbstractAuthenticationFlowContext.failure |
( |
AuthenticationFlowError |
error, |
|
|
Response |
response |
|
) |
| |
|
inherited |
◆ failureChallenge()
void org.keycloak.authentication.AbstractAuthenticationFlowContext.failureChallenge |
( |
AuthenticationFlowError |
error, |
|
|
Response |
challenge |
|
) |
| |
|
inherited |
◆ forceChallenge()
void org.keycloak.authentication.AbstractAuthenticationFlowContext.forceChallenge |
( |
Response |
challenge | ) |
|
|
inherited |
◆ generateAccessCode()
String org.keycloak.authentication.AbstractAuthenticationFlowContext.generateAccessCode |
( |
| ) |
|
|
inherited |
◆ getAuthenticatorConfig()
◆ getCategoryRequirementFromCurrentFlow()
AuthenticationExecutionModel.Requirement org.keycloak.authentication.AbstractAuthenticationFlowContext.getCategoryRequirementFromCurrentFlow |
( |
String |
authenticatorCategory | ) |
|
|
inherited |
◆ getClient()
ClientModel org.keycloak.authentication.ClientAuthenticationFlowContext.getClient |
( |
| ) |
|
◆ getClientAuthAttributes()
Map<String, String> org.keycloak.authentication.ClientAuthenticationFlowContext.getClientAuthAttributes |
( |
| ) |
|
Return the map where the authenticators can put some additional state related to authenticated client and the context how was client authenticated (ie. attributes from client certificate etc). Map is writable, so you can add/remove items from it as needed.
After successful authentication will be those state data put into UserSession notes. This allows you to configure UserSessionNote protocol mapper for your client, which will allow to map those state data into the access token available in the application
- 戻り値
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
◆ getConnection()
ClientConnection org.keycloak.authentication.AbstractAuthenticationFlowContext.getConnection |
( |
| ) |
|
|
inherited |
◆ getError()
◆ getEvent()
EventBuilder org.keycloak.authentication.AbstractAuthenticationFlowContext.getEvent |
( |
| ) |
|
|
inherited |
◆ getExecution()
◆ getForwardedErrorMessage()
FormMessage org.keycloak.authentication.AbstractAuthenticationFlowContext.getForwardedErrorMessage |
( |
| ) |
|
|
inherited |
This could be an error message forwarded from another authenticator that is restarting or continuing the flo. For example the brokering API sends this when the broker failed authentication and we want to continue authentication locally. forwardedErrorMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
◆ getForwardedSuccessMessage()
FormMessage org.keycloak.authentication.AbstractAuthenticationFlowContext.getForwardedSuccessMessage |
( |
| ) |
|
|
inherited |
This could be an success message forwarded from another authenticator that is restarting or continuing the flow. For example a reset password sends an email, then resets the flow with a success message. forwardedSuccessMessage can then be displayed by whatever form is challenging.
org.keycloak.authentication.AuthenticationProcessor.Resultで実装されています。
◆ getHttpRequest()
HttpRequest org.keycloak.authentication.AbstractAuthenticationFlowContext.getHttpRequest |
( |
| ) |
|
|
inherited |
◆ getProtector()
BruteForceProtector org.keycloak.authentication.AbstractAuthenticationFlowContext.getProtector |
( |
| ) |
|
|
inherited |
◆ getRealm()
RealmModel org.keycloak.authentication.AbstractAuthenticationFlowContext.getRealm |
( |
| ) |
|
|
inherited |
◆ getSession()
KeycloakSession org.keycloak.authentication.AbstractAuthenticationFlowContext.getSession |
( |
| ) |
|
|
inherited |
◆ getStatus()
FlowStatus org.keycloak.authentication.AbstractAuthenticationFlowContext.getStatus |
( |
| ) |
|
|
inherited |
◆ getUriInfo()
UriInfo org.keycloak.authentication.AbstractAuthenticationFlowContext.getUriInfo |
( |
| ) |
|
|
inherited |
◆ newEvent()
EventBuilder org.keycloak.authentication.AbstractAuthenticationFlowContext.newEvent |
( |
| ) |
|
|
inherited |
◆ setClient()
void org.keycloak.authentication.ClientAuthenticationFlowContext.setClient |
( |
ClientModel |
client | ) |
|
◆ success()
void org.keycloak.authentication.AbstractAuthenticationFlowContext.success |
( |
| ) |
|
|
inherited |
このインタフェース詳解は次のファイルから抽出されました: