Package com.nimbusds.common.oauth2
Class TokenAbbreviator
- java.lang.Object
-
- com.nimbusds.common.oauth2.TokenAbbreviator
-
public class TokenAbbreviator extends Object
Token abbreviation utility.
-
-
Constructor Summary
Constructors Constructor Description TokenAbbreviator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
abbreviate(com.nimbusds.oauth2.sdk.token.Token token)
Returns the first nine characters of the specified token.
-
-
-
Constructor Detail
-
TokenAbbreviator
public TokenAbbreviator()
-
-
Method Detail
-
abbreviate
public static String abbreviate(com.nimbusds.oauth2.sdk.token.Token token)
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".
-
-