public class TokenClientCredentials extends Object implements ClientCredentials<String>
Constructor and Description |
---|
TokenClientCredentials(String secret) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
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.
|
int |
hashCode() |
String |
toString() |
public TokenClientCredentials(String secret)
public String getCredentials()
ClientCredentials
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.
getCredentials
in interface ClientCredentials<String>
Copyright © 2017–2023 Okta. All rights reserved.