org.springframework.security.oauth2.client.resource
类 UserApprovalRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.oauth2.client.resource.UserApprovalRequiredException
- 所有已实现的接口:
- Serializable
public class UserApprovalRequiredException
- extends RuntimeException
Exception indicating that user approval is required, with some indication of how to signal the approval.
- 作者:
- Dave Syer
- 另请参见:
- 序列化表格
| 从类 java.lang.Throwable 继承的方法 |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UserApprovalRequiredException
public UserApprovalRequiredException(String approvalUri,
Map<String,String> parameters,
String clientId,
List<String> scope)
getApprovalUri
public String getApprovalUri()
- 返回:
- the approvalUri the uri to which the user should submit for approval
getParameters
public Map<String,String> getParameters()
- Description of the parameters required to be submitted for approval. Map from the name of the parameter to its
description.
- 返回:
- the parameters the parameters required for approval
getClientId
public String getClientId()
- 返回:
- the clientId the client that is requesting approval
getScope
public List<String> getScope()
- 返回:
- the scope the scope that has been requested for the token grant
Copyright © 2013. All rights reserved.