Class ResourceOwnerGrant
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.grants.AbstractGrant
-
- org.apache.cxf.rs.security.oauth2.grants.owner.ResourceOwnerGrant
-
- All Implemented Interfaces:
Serializable,AccessTokenGrant
public class ResourceOwnerGrant extends AbstractGrant
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceOwnerGrant(String name, String password)ResourceOwnerGrant(String name, String password, String scope)ResourceOwnerGrant(String name, String password, String scope, String audience)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.MultivaluedMap<String,String>toMap()Returns the map containing public grant parameters; can be used by clients requesting the access tokens.-
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrant
getType, setAudience
-
-
-
-
Method Detail
-
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- Overrides:
toMapin classAbstractGrant- Returns:
- the grant parameters
-
-