Class RefreshTokenGrant
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.grants.refresh.RefreshTokenGrant
-
- All Implemented Interfaces:
Serializable,AccessTokenGrant
public class RefreshTokenGrant extends Object implements AccessTokenGrant
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RefreshTokenGrant(String refreshToken)RefreshTokenGrant(String refreshToken, String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the token grant type, example, "authorization_code"javax.ws.rs.core.MultivaluedMap<String,String>toMap()Returns the map containing public grant parameters; can be used by clients requesting the access tokens.
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:AccessTokenGrantReturns the token grant type, example, "authorization_code"- Specified by:
getTypein interfaceAccessTokenGrant- Returns:
- the grant type
-
toMap
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
Description copied from interface:AccessTokenGrantReturns the map containing public grant parameters; can be used by clients requesting the access tokens.- Specified by:
toMapin interfaceAccessTokenGrant- Returns:
- the grant parameters
-
-