|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.support.ParameterMap org.springframework.social.oauth2.OAuth2Parameters
public final class OAuth2Parameters
Parameters for building an OAuth2 authorize URL.
OAuth2Operations.buildAuthorizeUrl(GrantType, OAuth2Parameters)
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
OAuth2Parameters()
Creates a new OAuth2Parameters map that is initially empty. |
|
OAuth2Parameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Creates a new OAuth2Parameters populated from the initial parameters provided. |
Method Summary | |
---|---|
java.lang.String |
getRedirectUri()
The authorization callback url. |
java.lang.String |
getScope()
The permissions the application is seeking with the authorization (optional). |
java.lang.String |
getState()
An opaque key that must be included in the provider's authorization callback (optional). |
void |
setRedirectUri(java.lang.String redirectUri)
Sets the authorization callback url. |
void |
setScope(java.lang.String scope)
Sets the permissions the application is seeking with the authorization (optional). |
void |
setState(java.lang.String state)
Sets an opaque key that must be included in the provider's authorization callback (optional). |
Methods inherited from class org.springframework.social.support.ParameterMap |
---|
add, clear, containsKey, containsValue, entrySet, get, getFirst, isEmpty, keySet, put, putAll, remove, set, setAll, size, toSingleValueMap, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public OAuth2Parameters()
setRedirectUri(String)
,
setScope(String)
,
setState(String)
,
ParameterMap.set(String, String)
public OAuth2Parameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
parameters
- the initial parameterssetRedirectUri(String)
,
setScope(String)
,
setState(String)
Method Detail |
---|
public java.lang.String getRedirectUri()
public void setRedirectUri(java.lang.String redirectUri)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getState()
public void setState(java.lang.String state)
|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |