org.apache.cxf.rs.security.oauth2.grants.owner
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
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceOwnerGrant
public ResourceOwnerGrant(String name,
String password)
ResourceOwnerGrant
public ResourceOwnerGrant(String name,
String password,
String scope)
ResourceOwnerGrant
public ResourceOwnerGrant(String name,
String password,
String scope,
String audience)
toMap
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
- Description copied from interface:
AccessTokenGrant
- Returns the map containing public grant parameters;
can be used by clients requesting the access tokens.
- Specified by:
toMap
in interface AccessTokenGrant
- Overrides:
toMap
in class AbstractGrant
- Returns:
- the grant parameters
Apache CXF