Package com.nimbusds.common.oauth2
Class TokenAbbreviator
java.lang.Object
com.nimbusds.common.oauth2.TokenAbbreviator
Token abbreviation utility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
abbreviate
(com.nimbusds.oauth2.sdk.token.Token token) Returns the first nine characters of the specified token.
-
Constructor Details
-
TokenAbbreviator
public TokenAbbreviator()
-
-
Method Details
-
abbreviate
Returns the first nine characters of the specified token.- Parameters:
token
- The token,null
if not specified.- Returns:
- The first nine token characters, or "null".
-