public class TokenClientCredentials extends java.lang.Object implements ClientCredentials<java.lang.String>
Constructor and Description |
---|
TokenClientCredentials(java.lang.String secret) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.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() |
java.lang.String |
toString() |
public java.lang.String getCredentials()
ClientCredentials
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<java.lang.String>
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2017-2021 Okta. All Rights Reserved.