Class BasicNimbusSecretCredential

    • Field Detail

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