public abstract class AbstractGrant extends Object implements AccessTokenGrant
Modifier | Constructor and Description |
---|---|
protected |
AbstractGrant(String grantType) |
protected |
AbstractGrant(String grantType,
String scope) |
protected |
AbstractGrant(String grantType,
String scope,
String audience) |
Modifier and Type | Method and Description |
---|---|
String |
getType()
Returns the token grant type, example, "authorization_code"
|
void |
setAudience(String audience) |
javax.ws.rs.core.MultivaluedMap<String,String> |
toMap()
Returns the map containing public grant parameters;
can be used by clients requesting the access tokens.
|
protected AbstractGrant(String grantType)
public String getType()
AccessTokenGrant
getType
in interface AccessTokenGrant
public void setAudience(String audience)
public javax.ws.rs.core.MultivaluedMap<String,String> toMap()
AccessTokenGrant
toMap
in interface AccessTokenGrant
Apache CXF