|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.oauth2.client.resource.UserRedirectRequiredException
public class UserRedirectRequiredException
Special exception thrown when a user redirect is required in order to obtain an OAuth2 access token.
| 构造方法摘要 | |
|---|---|
UserRedirectRequiredException(String redirectUri,
Map<String,String> requestParams)
|
|
| 方法摘要 | |
|---|---|
String |
getRedirectUri()
The uri to which the user is to be redirected. |
Map<String,String> |
getRequestParams()
The request parameters that are to be appended to the uri. |
String |
getStateKey()
The key to the state to preserve. |
Object |
getStateToPreserve()
Some state that needs to be preserved and set up in the security context when the user returns. |
void |
setStateKey(String stateKey)
The key to the state to preserve. |
void |
setStateToPreserve(Object stateToPreserve)
The state that needs to be preserved and set up in the security context when the user returns. |
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public UserRedirectRequiredException(String redirectUri,
Map<String,String> requestParams)
| 方法详细信息 |
|---|
public String getRedirectUri()
public Map<String,String> getRequestParams()
public String getStateKey()
public void setStateKey(String stateKey)
stateKey - The key to the state to preserve.public Object getStateToPreserve()
public void setStateToPreserve(Object stateToPreserve)
stateToPreserve - The state.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||