Interface ClientCredentials<T>

All Known Implementing Classes:
OAuth2ClientCredentials, TokenClientCredentials

public interface ClientCredentials<T>
Credentials to be used when authenticating requests to the Okta API server.
Since:
0.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the client credentials plaintext secret - a very secret, very private value that should never be disclosed to anyone other than the actual account holder.
  • Method Details

    • getCredentials

      T getCredentials()
      Returns the client credentials plaintext secret - a very secret, very private value that should never be disclosed to anyone other than the actual account holder. The secret value is mostly used for computing HMAC digests, but can also be used as a password for password-based key derivation and encryption.

      Security Notice

      Okta SDKs automatically encrypt this value at rest and in SDK cache to prevent plaintext access. The plaintext value is only available by calling this method, which returns the plaintext (unencrypted) value. Please use this method with caution and only when necessary to ensure your API users' secrets remain secure.

      Returns:
      the client credentials plaintext secret