Java org.springframework.security.oauth2.common DefaultOAuth2AccessToken fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.security.oauth2.common DefaultOAuth2AccessToken fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.security.oauth2.common DefaultOAuth2AccessToken.

The text is from its open source code.

Subclass

org.springframework.security.oauth2.common.DefaultOAuth2AccessToken has subclasses.
Click this link to see all its subclasses.

Constructor

DefaultOAuth2AccessToken(String value)
Create an access token from the value provided.
DefaultOAuth2AccessToken(OAuth2AccessToken accessToken)
Copy constructor for access token.

Method

MapgetAdditionalInformation()
Additional information that token granters would like to add to the token, e.g.
DategetExpiration()
The instant the token expires.
OAuth2RefreshTokengetRefreshToken()
The refresh token associated with the access token, if any.
SetgetScope()
The scope of the token.
StringgetTokenType()
The token type, as introduced in draft 11 of the OAuth 2 spec.
StringgetValue()
The token value.
voidsetAdditionalInformation(Map additionalInformation)
Additional information that token granters would like to add to the token, e.g.
voidsetExpiration(Date expiration)
The instant the token expires.
voidsetRefreshToken(OAuth2RefreshToken refreshToken)
The refresh token associated with the access token, if any.
voidsetScope(Set scope)
The scope of the token.
voidsetTokenType(String tokenType)
The token type, as introduced in draft 11 of the OAuth 2 spec.
voidsetValue(String value)
OAuth2AccessTokenvalueOf(Map tokenParams)