Class BasicNimbusSecretCredential
java.lang.Object
org.opensaml.security.credential.AbstractCredential
net.shibboleth.oidc.security.credential.BasicNimbusSecretCredential
- All Implemented Interfaces:
NimbusSecretCredential,Credential
@Deprecated(since="2.2.0",
forRemoval=true)
public class BasicNimbusSecretCredential
extends AbstractCredential
implements NimbusSecretCredential
Deprecated, for removal: This API element is subject to removal in a future version.
A basic implementation of
NimbusSecretCredential.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.nimbusds.oauth2.sdk.auth.SecretDeprecated, for removal: This API element is subject to removal in a future version.The client secret. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.BasicNimbusSecretCredential(com.nimbusds.oauth2.sdk.auth.Secret secret) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Credential>Deprecated, for removal: This API element is subject to removal in a future version.com.nimbusds.oauth2.sdk.auth.SecretDeprecated, for removal: This API element is subject to removal in a future version.Get the client secret.voidsetSecret(com.nimbusds.oauth2.sdk.auth.Secret secret) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.opensaml.security.credential.AbstractCredential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType, setEntityId, setPrivateKey, setPublicKey, setSecretKey, setUsageTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
Field Details
-
clientSecret
@Nullable private com.nimbusds.oauth2.sdk.auth.Secret clientSecretDeprecated, for removal: This API element is subject to removal in a future version.The client secret.
-
-
Constructor Details
-
BasicNimbusSecretCredential
Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
BasicNimbusSecretCredential
public BasicNimbusSecretCredential(@Nullable com.nimbusds.oauth2.sdk.auth.Secret secret) Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
secret- The client secret.
-
-
Method Details
-
setSecret
@Deprecated(since="3.1.0", forRemoval=true) public void setSecret(@Nullable com.nimbusds.oauth2.sdk.auth.Secret secret) Deprecated, for removal: This API element is subject to removal in a future version.Set the client secret.- Parameters:
secret- What to set.
-
getSecret
@Nonnull public com.nimbusds.oauth2.sdk.auth.Secret getSecret()Deprecated, for removal: This API element is subject to removal in a future version.Get the client secret.- Specified by:
getSecretin interfaceNimbusSecretCredential- Returns:
- The client secret.
-
getCredentialType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCredentialTypein interfaceCredential
-
ClientSecretCredential