public class TokenIntrospectionData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TokenIntrospectionData |
INACTIVE_TOKEN |
Constructor and Description |
---|
TokenIntrospectionData() |
TokenIntrospectionData(java.lang.String scope,
long expiration)
Create active token data
|
TokenIntrospectionData(java.lang.String scope,
long expiration,
boolean active)
Create active token data
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getData() |
long |
getExpiration() |
java.lang.String |
getScope() |
boolean |
isActive() |
boolean |
isScopeCovered(java.lang.String requiredScope) |
void |
setData(java.util.Map data) |
public static final TokenIntrospectionData INACTIVE_TOKEN
public TokenIntrospectionData(java.lang.String scope, long expiration, boolean active)
scope
- token scopeexpiration
- token expirationpublic TokenIntrospectionData(java.lang.String scope, long expiration)
scope
- token scopeexpiration
- token expirationpublic TokenIntrospectionData()
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.