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