|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSOAuth20Token
This interface is responsible for the WebSphere OAuth20 token created by the OAuth Trust Association Interceptor (TAI)
Field Summary | |
---|---|
static java.security.SecurityPermission |
GET_OAUTH_PERM
|
static java.security.SecurityPermission |
UPDATE_OAUTH_PERM
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String key)
Get the oauth 2.0 token attribute by given key |
java.util.Map |
getAttributes()
Get the oauth 2.0 token attributes |
java.lang.String |
getCacheKey()
Get Token cache key |
java.lang.String |
getClientID()
Get OAuth 2.0 client_id |
long |
getExpirationTime()
Get the expiration time for the access_token |
java.lang.String |
getProperty(java.lang.String key)
Get the custom property value by given key |
java.lang.String |
getProvider()
Retrieves the OAuth 2.0 service provider name associated with the token |
java.lang.String[] |
getScope()
Get OAuth 2.0 scopes authorized by resource owner |
java.lang.String |
getTokenString()
Get OAuth 2.0 'access_token' issued by authorization server |
java.lang.String |
getUser()
Get the resource owner name |
boolean |
isValid()
Retrieves the flag that indicates validity of the access_token. |
Field Detail |
---|
static final java.security.SecurityPermission GET_OAUTH_PERM
static final java.security.SecurityPermission UPDATE_OAUTH_PERM
Method Detail |
---|
java.lang.String getUser()
java.lang.String getTokenString()
java.lang.String getClientID()
java.lang.String[] getScope()
long getExpirationTime()
java.lang.String getProperty(java.lang.String key)
java.lang.Object getAttribute(java.lang.String key)
java.util.Map getAttributes()
java.lang.String getCacheKey()
boolean isValid()
java.lang.String getProvider()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |