Apache CXF API

org.apache.cxf.rs.security.oauth2.common
Interface AccessTokenGrant

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractGrant, AbstractSaml2BearerGrant, AuthorizationCodeGrant, ClientCredentialsGrant, RefreshTokenGrant, ResourceOwnerGrant, Saml2BearerGrant, SamlBearerClientCredentialsGrant, ServerAuthorizationCodeGrant

public interface AccessTokenGrant
extends Serializable

Access Token Grant


Method Summary
 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.
 

Method Detail

getType

String getType()
Returns the token grant type, example, "authorization_code"

Returns:
the grant type

toMap

javax.ws.rs.core.MultivaluedMap<String,String> toMap()
Returns the map containing public grant parameters; can be used by clients requesting the access tokens.

Returns:
the grant parameters

Apache CXF API

Apache CXF