@Immutable public final class ImmutableClientSecret extends ImmutableJWKSet
Constructor and Description |
---|
ImmutableClientSecret(ClientID id,
com.nimbusds.jose.jwk.OctetSequenceKey secret)
Creates a new immutable client secret.
|
ImmutableClientSecret(ClientID id,
Secret secret)
Creates a new immutable client secret.
|
Modifier and Type | Method and Description |
---|---|
com.nimbusds.jose.jwk.OctetSequenceKey |
getClientSecret()
Returns the client secret.
|
Identifier |
getOwner()
Returns the owner identifier.
|
get, getJWKSet
public 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 Identifier getOwner()
Copyright © 2015 Connect2id Ltd.. All Rights Reserved.