Package org.keycloak.credential
Class WebAuthnPasswordlessCredentialProvider
java.lang.Object
org.keycloak.credential.WebAuthnCredentialProvider
org.keycloak.credential.WebAuthnPasswordlessCredentialProvider
- All Implemented Interfaces:
CredentialInputValidator
,CredentialProvider<WebAuthnCredentialModel>
,Provider
Credential provider for WebAuthn passwordless credential of the user
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorDescriptionWebAuthnPasswordlessCredentialProvider
(KeycloakSession session, com.webauthn4j.converter.util.ObjectConverter objectConverter) -
Method Summary
Modifier and TypeMethodDescriptiongetCredentialTypeMetadata
(CredentialTypeMetadataContext metadataContext) getType()
protected WebAuthnPolicy
Methods inherited from class org.keycloak.credential.WebAuthnCredentialProvider
createCredential, deleteCredential, dumpCredentialModel, getCredentialFromModel, getCredentialModelFromCredentialInput, getKeycloakSession, getWebAuthnAuthenticationManager, isConfiguredFor, isValid, supportsCredentialType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.credential.CredentialProvider
close, getCredentialMetadata, getDefaultCredential
-
Constructor Details
-
WebAuthnPasswordlessCredentialProvider
public WebAuthnPasswordlessCredentialProvider(KeycloakSession session, com.webauthn4j.converter.util.ObjectConverter objectConverter)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceCredentialProvider<WebAuthnCredentialModel>
- Overrides:
getType
in classWebAuthnCredentialProvider
-
getCredentialTypeMetadata
public CredentialTypeMetadata getCredentialTypeMetadata(CredentialTypeMetadataContext metadataContext) - Specified by:
getCredentialTypeMetadata
in interfaceCredentialProvider<WebAuthnCredentialModel>
- Overrides:
getCredentialTypeMetadata
in classWebAuthnCredentialProvider
-
getWebAuthnPolicy
- Overrides:
getWebAuthnPolicy
in classWebAuthnCredentialProvider
-