Package org.keycloak.credential
Interface CredentialProvider<T extends CredentialModel>
- All Superinterfaces:
Provider
- All Known Implementing Classes:
OTPCredentialProvider
,PasswordCredentialProvider
,RecoveryAuthnCodesCredentialProvider
,WebAuthnCredentialProvider
,WebAuthnPasswordlessCredentialProvider
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
createCredential
(RealmModel realm, UserModel user, T credentialModel) boolean
deleteCredential
(RealmModel realm, UserModel user, String credentialId) default CredentialMetadata
getCredentialMetadata
(T credentialModel, CredentialTypeMetadata credentialTypeMetadata) getCredentialTypeMetadata
(CredentialTypeMetadataContext metadataContext) default T
getDefaultCredential
(KeycloakSession session, RealmModel realm, UserModel user) getType()
-
Method Details
-
close
default void close() -
getType
String getType() -
createCredential
-
deleteCredential
-
getCredentialFromModel
-
getDefaultCredential
-
getCredentialTypeMetadata
-
getCredentialMetadata
default CredentialMetadata getCredentialMetadata(T credentialModel, CredentialTypeMetadata credentialTypeMetadata)
-