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 Details

    • clientSecret

      private com.nimbusds.oauth2.sdk.auth.Secret clientSecret
      Deprecated, for removal: This API element is subject to removal in a future version.
      The client secret.
  • Constructor Details

    • 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 Details

    • 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:
      getSecret in interface NimbusSecretCredential
      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:
      getCredentialType in interface Credential