@Immutable public class TypelessAccessToken extends AccessToken
Related specifications:
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
TypelessAccessToken(String value)
Creates a new minimal typeless access token with the specified
value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Overrides
Object.equals(). |
String |
toAuthorizationHeader()
Operation not supported.
|
net.minidev.json.JSONObject |
toJSONObject()
Operation not supported.
|
getLifetime, getParamNames, getScope, getType, parse, parse, toJSONStringcompareTo, getValue, hashCode, toStringpublic TypelessAccessToken(String value)
value - The access token value. Must not be null or
empty string.public net.minidev.json.JSONObject toJSONObject()
toJSONObject in class AccessTokenUnsupportedOperationException - Serialisation is not
supported.public String toAuthorizationHeader()
toAuthorizationHeader in class AccessTokenAuthorization header value.UnsupportedOperationException - Serialisation is not
supported.public boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.