com.nimbusds.openid.connect.provider.spi.secrets.SecretVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c2id-server-sdk Show documentation
Show all versions of c2id-server-sdk Show documentation
SDK for Connect2id Server extensions, such as OpenID Connect claims
sources and OAuth 2.0 grant handlers
package com.nimbusds.openid.connect.provider.spi.secrets;
import com.nimbusds.oauth2.sdk.auth.Secret;
/**
* Secret verifier.
*/
public interface SecretVerifier {
/**
* Verifies the specified secret.
*
* @param secret The secret. Not {@code null}.
*
* @return {@code true} if the secret is valid, else {@code false}.
*/
boolean verify(final Secret secret);
}