|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.oauth.OAuthParameters
public class OAuthParameters
Container for OAuth2 Parameters. It contains the following information
Constructor Summary | |
---|---|
OAuthParameters(String clientId,
String clientSecret)
Constructor. |
|
OAuthParameters(String clientId,
String clientSecret,
String baseRef)
Constructor. |
|
OAuthParameters(String clientId,
String clientSecret,
String baseRef,
List<Role> roles)
Constructor. |
Method Summary | |
---|---|
String |
getAccessTokenPath()
Returns the access token path. |
String |
getAuthorizePath()
Returns the authorize path. |
Reference |
getBaseRef()
Returns the base reference. |
String |
getClientId()
Returns the client identifier. |
String |
getClientSecret()
Returns the client secret. |
String |
getOwner()
Returns the owner. |
List<Role> |
getRoles()
Returns the list of roles. |
void |
setAccessTokenPath(String accessTokenPath)
Sets the access token path. |
void |
setAuthorizePath(String authorizePath)
Sets the authorize path. |
void |
setOwner(String owner)
Sets the owner. |
void |
setRoles(List<Role> roles)
Sets the list of roles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAuthParameters(String clientId, String clientSecret)
clientId
- The client identifier.clientSecret
- The client password.public OAuthParameters(String clientId, String clientSecret, String baseRef)
clientId
- The client identifier.clientSecret
- The client password.baseRef
- The base reference.public OAuthParameters(String clientId, String clientSecret, String baseRef, List<Role> roles)
clientId
- The client identifier.clientSecret
- The client password.baseRef
- The base reference.roles
- The list of user roles.Method Detail |
---|
public String getAccessTokenPath()
public String getAuthorizePath()
public Reference getBaseRef()
public String getClientId()
public String getClientSecret()
public String getOwner()
public List<Role> getRoles()
public void setAccessTokenPath(String accessTokenPath)
accessTokenPath
- The access token path.public void setAuthorizePath(String authorizePath)
authorizePath
- The authorize path.public void setOwner(String owner)
owner
- The owner.public void setRoles(List<Role> roles)
roles
- The list of roles.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |