All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nimbusds.openid.connect.provider.spi.authz.ValidatorContext Maven / Gradle / Ivy

Go to download

SDK for Connect2id Server extensions, such as OpenID Connect claims sources and OAuth 2.0 grant handlers

There is a newer version: 5.8
Show newest version
package com.nimbusds.openid.connect.provider.spi.authz;


import com.nimbusds.oauth2.sdk.AuthorizationRequest;
import com.nimbusds.openid.connect.provider.spi.InvocationContext;
import com.nimbusds.openid.connect.sdk.op.ReadOnlyOIDCProviderMetadata;
import com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation;


/**
 * The authorisation request validator context.
 */
public interface ValidatorContext extends InvocationContext {
	
	
	/**
	 * Returns the OpenID provider metadata.
	 *
	 * @return The OpenID provider metadata.
	 */
	ReadOnlyOIDCProviderMetadata getReadOnlyOIDCProviderMetadata();
	
	
	/**
	 * Returns the registered client information for the {@code client_id}
	 * in the authorisation request.
	 *
	 * @return The registered client information.
	 */
	OIDCClientInformation getOIDCClientInformation();
	
	
	/**
	 * Returns the original raw OAuth 2.0 authorisation / OpenID
	 * authentication request, as received at the authorisation endpoint
	 * and prior to any JAR unwrapping / resolution if JWT-secured.
	 *
	 * @return The raw request.
	 */
	AuthorizationRequest getRawRequest();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy