Package org.keycloak.authentication
Interface CredentialAction
- All Known Subinterfaces:
CredentialRegistrator
public interface CredentialAction
Marking any required action implementation, that is supposed to work with user credentials
- Author:
- Marek Posolda
-
Method Summary
Modifier and TypeMethodDescriptiongetCredentialType(org.keycloak.models.KeycloakSession session, org.keycloak.sessions.AuthenticationSessionModel authenticationSession)
-
Method Details
-
getCredentialType
String getCredentialType(org.keycloak.models.KeycloakSession session, org.keycloak.sessions.AuthenticationSessionModel authenticationSession) - Returns:
- credential type, which this action is able to register. This should refer to the same value as returned by
CredentialProvider.getType()of the corresponding credential provider andConfigurableAuthenticatorFactory.getReferenceCategory()of the corresponding authenticator
-