org.keycloak.authentication

## Interface CredentialValidator<T extends CredentialProvider>

- All Known Implementing Classes:
    BasicAuthOTPAuthenticator, ConditionalOtpFormAuthenticator, ConsoleOTPFormAuthenticator, OTPFormAuthenticator, PasswordForm, ResetOTP, ValidateOTP, WebAuthnAuthenticator, WebAuthnPasswordlessAuthenticator

      public interface CredentialValidator<T extends CredentialProvider>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `getCredentialProvider(KeycloakSession session)`
    `default List<CredentialModel>` | `getCredentials(KeycloakSession session, RealmModel realm, UserModel user)`
    `default String` | `getType(KeycloakSession session)`

- - ### Method Detail

    - #### getCredentialProvider

          T getCredentialProvider(KeycloakSession session)

    - #### getCredentials

          default List<CredentialModel> getCredentials(KeycloakSession session,
                                                       RealmModel realm,
                                                       UserModel user)

    - #### getType

          default String getType(KeycloakSession session)

Copyright © 2020 JBoss by Red Hat. All rights reserved.