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

com.nimbusds.openid.connect.provider.spi.ServiceContext Maven / Gradle / Ivy

Go to download

Toolkit for developing Connect2id Server extensions, such as custom OpenID Connect claims sources and grant handlers.

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


import com.nimbusds.oauth2.sdk.id.ClientID;
import com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation;


/**
 * Service context for accessing selected Connect2id server components that may
 * be required in order to process claims or grant handler requests. The
 * exposed methods are only available during SPI request processing. Attempting
 * to access these methods during SPI {@link Lifecycle#init ininitialisation}
 * will produce an {@link IllegalStateException}.
 *
 * 

This interface may be extended in future with additional methods to aid * processing of claims and grant handler requests. Contact Connect2id support * if you think you would need such an extension. */ public interface ServiceContext { /** * Gets the information (metadata) for a registered OAuth 2.0 / OpenID * Connect client. * * @param clientID The client ID. Must not be {@code null}. * * @return The client information, {@code null} if the client wasn't * found. */ OIDCClientInformation getOIDCClientInformation(final ClientID clientID); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy