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
另请参见:
序列化表格

构造方法摘要
UserApprovalRequiredException(String approvalUri, Map<String,String> parameters, String clientId, List<String> scope)
           
 
方法摘要
 String getApprovalUri()
           
 String getClientId()
           
 Map<String,String> getParameters()
          Description of the parameters required to be submitted for approval.
 List<String> getScope()
           
 
从类 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
 

构造方法详细信息

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.