public class RefreshTokenGrant extends Object implements AccessTokenGrant
| Constructor and Description |
|---|
RefreshTokenGrant(String refreshToken) |
RefreshTokenGrant(String refreshToken,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
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.
|
public RefreshTokenGrant(String refreshToken)
public String getType()
AccessTokenGrantgetType in interface AccessTokenGrantpublic javax.ws.rs.core.MultivaluedMap<String,String> toMap()
AccessTokenGranttoMap in interface AccessTokenGrantApache CXF