public class WebAuthnAuthenticator extends Object implements Authenticator, CredentialValidator<WebAuthnCredentialProvider>
| Constructor and Description |
|---|
WebAuthnAuthenticator(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
WebAuthnCredentialProvider |
getCredentialProvider(KeycloakSession session) |
protected String |
getCredentialType() |
List<RequiredActionFactory> |
getRequiredActions(KeycloakSession session) |
protected String |
getRpID(AuthenticationFlowContext context) |
protected WebAuthnPolicy |
getWebAuthnPolicy(AuthenticationFlowContext context) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareRequiredActionsEnabledgetCredentials, getTypepublic WebAuthnAuthenticator(KeycloakSession session)
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorprotected WebAuthnPolicy getWebAuthnPolicy(AuthenticationFlowContext context)
protected String getRpID(AuthenticationFlowContext context)
protected String getCredentialType()
public void action(AuthenticationFlowContext context)
action in interface Authenticatorpublic boolean requiresUser()
requiresUser in interface Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic List<RequiredActionFactory> getRequiredActions(KeycloakSession session)
getRequiredActions in interface Authenticatorpublic WebAuthnCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<WebAuthnCredentialProvider>Copyright © 2020 JBoss by Red Hat. All rights reserved.