![JAR search and dependency download from the Maven repository](/logo.png)
com.nimbusds.oauth2.sdk.jose.jwk.AbstractJWKSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-oidc-sdk Show documentation
Show all versions of oauth2-oidc-sdk Show documentation
OAuth 2.0 SDK with OpenID Connection extensions for developing
client and server applications.
package com.nimbusds.oauth2.sdk.jose.jwk;
import com.nimbusds.oauth2.sdk.id.Identifier;
import net.jcip.annotations.ThreadSafe;
/**
* Abstract JSON Web Key (JWK) source.
*/
@ThreadSafe
@Deprecated
abstract class AbstractJWKSource implements JWKSource {
/**
* The key owner.
*/
private final Identifier owner;
/**
* Creates a new abstract JWK source.
*
* @param owner The key owner identifier. Typically the OAuth 2.0
* server issuer ID, or client ID. Must not be
* {@code null}.
*/
public AbstractJWKSource(final Identifier owner) {
if (owner == null) {
throw new IllegalArgumentException("The owner identifier must not be null");
}
this.owner = owner;
}
/**
* Returns the owner identifier.
*
* @return The owner identifier.
*/
public Identifier getOwner() {
return owner;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy