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

      @Nullable private Secret clientSecret
      Deprecated, for removal: This API element is subject to removal in a future version.
      The client secret.
  • Constructor Details

    • BasicNimbusSecretCredential

      @Deprecated(since="3.1.0", forRemoval=true) public BasicNimbusSecretCredential()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
    • BasicNimbusSecretCredential

      public BasicNimbusSecretCredential(@Nullable 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 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 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

      @Nonnull 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