com.nimbusds.openid.connect.provider.spi.reg.ValidatorContext 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.reg;
import com.nimbusds.openid.connect.provider.spi.InvocationContext;
import com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata;
/**
* OAuth 2.0 client / OpenID relying party metadata validator context.
*/
public interface ValidatorContext extends InvocationContext {
/**
* Returns the type of authorisation credential used at the OAuth 2.0
* client registration endpoint.
*
* @return The authorisation credential type. Not {@code null}.
*/
AuthorizationCredentialType getAuthorizationCredentialType();
/**
* Returns the OAuth 2.0 client / OpenID relying party metadata as
* received at the client registration endpoint.
*
* @return The received metadata. Not {@code null}.
*/
OIDCClientMetadata getReceivedMetadata();
}