Interface CredentialInputValidator

    • Method Detail

      • supportsCredentialType

        boolean supportsCredentialType​(String credentialType)
      • isValid

        boolean isValid​(RealmModel realm,
                        UserModel user,
                        CredentialInput credentialInput)
        Tests whether a credential is valid
        Parameters:
        realm - The realm in which to which the credential belongs to
        user - The user for which to test the credential
        credentialInput - the credential details to verify
        Returns:
        true if the passed secret is correct