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 ofNimbusSecretCredential.
-
-
Field Summary
Fields Modifier and Type Field Description private com.nimbusds.oauth2.sdk.auth.SecretclientSecretDeprecated, for removal: This API element is subject to removal in a future version.The client secret.
-
Constructor Summary
Constructors Constructor Description BasicNimbusSecretCredential()Deprecated, for removal: This API element is subject to removal in a future version.Constructor.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<? extends Credential>getCredentialType()Deprecated, for removal: This API element is subject to removal in a future version.com.nimbusds.oauth2.sdk.auth.SecretgetSecret()Deprecated, 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.Set the client secret.-
Methods inherited from class org.opensaml.security.credential.AbstractCredential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType, setEntityId, setPrivateKey, setPublicKey, setSecretKey, setUsageType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
-
-
-
Constructor Detail
-
BasicNimbusSecretCredential
public BasicNimbusSecretCredential()
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.
-
BasicNimbusSecretCredential
public BasicNimbusSecretCredential(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 Detail
-
setSecret
public void setSecret(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
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
public Class<? extends Credential> getCredentialType()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCredentialTypein interfaceCredential
-
-