JWKSource@Immutable @Deprecated public final class ImmutableClientSecret extends ImmutableJWKSet
| Constructor | Description |
|---|---|
ImmutableClientSecret(ClientID id,
com.nimbusds.jose.jwk.OctetSequenceKey secret) |
Deprecated.
Creates a new immutable client secret.
|
ImmutableClientSecret(ClientID id,
Secret secret) |
Deprecated.
Creates a new immutable client secret.
|
| Modifier and Type | Method | Description |
|---|---|---|
List<com.nimbusds.jose.jwk.JWK> |
get(Identifier id,
com.nimbusds.jose.jwk.JWKSelector jwkSelector) |
Deprecated.
Retrieves a list of JWKs matching the specified criteria.
|
com.nimbusds.jose.jwk.OctetSequenceKey |
getClientSecret() |
Deprecated.
Returns the client secret.
|
Identifier |
getOwner() |
Deprecated.
Returns the owner identifier.
|
getJWKSetpublic ImmutableClientSecret(ClientID id, Secret secret)
id - The client identifier. Must not be null.secret - The client secret. Must not be null.public ImmutableClientSecret(ClientID id, com.nimbusds.jose.jwk.OctetSequenceKey secret)
id - The client identifier. Must not be null.secret - The client secret. Must not be null.public com.nimbusds.jose.jwk.OctetSequenceKey getClientSecret()
public List<com.nimbusds.jose.jwk.JWK> get(Identifier id, com.nimbusds.jose.jwk.JWKSelector jwkSelector)
JWKSourceget in interface JWKSourceget in class ImmutableJWKSetid - Identifier of the JWK owner, typically an
Authorisation Server / OpenID Provider issuer ID,
or client ID. Must not be null.jwkSelector - A JWK selector. Must not be null.public Identifier getOwner()
Copyright © 2018 Connect2id Ltd.. All rights reserved.