public class SignupEndpoint<T>
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| 构造器和说明 |
|---|
SignupEndpoint(SocialAdapter<T> socialAdapter,
org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices,
org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator providerExceptionHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
getClientId(java.security.Principal principal) |
protected org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator |
getExceptionTranslator() |
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
handleClientRegistrationException(java.lang.Exception e) |
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
handleException(java.lang.Exception e) |
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
handleException(org.springframework.security.oauth2.common.exceptions.OAuth2Exception e) |
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> |
handleHttpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException e) |
org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> |
signup(java.security.Principal principal,
UserProfile userProfile,
java.lang.String social_token,
java.lang.String scope,
java.util.Map<java.lang.String,java.lang.String> params) |
public SignupEndpoint(SocialAdapter<T> socialAdapter, org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices tokenServices, org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator providerExceptionHandler)
@ClientAuthorize
@RequestMapping(value="/social/account",
method=POST)
public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> signup(java.security.Principal principal,
UserProfile userProfile,
java.lang.String social_token,
java.lang.String scope,
@RequestParam
java.util.Map<java.lang.String,java.lang.String> params)
protected java.lang.String getClientId(java.security.Principal principal)
@ExceptionHandler(value=org.springframework.web.HttpRequestMethodNotSupportedException.class)
public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> handleHttpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException e)
throws java.lang.Exception
java.lang.Exception@ExceptionHandler(value=java.lang.Exception.class)
public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> handleException(java.lang.Exception e)
throws java.lang.Exception
java.lang.Exception@ExceptionHandler(value=org.springframework.security.oauth2.provider.ClientRegistrationException.class)
public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> handleClientRegistrationException(java.lang.Exception e)
throws java.lang.Exception
java.lang.Exception@ExceptionHandler(value=org.springframework.security.oauth2.common.exceptions.OAuth2Exception.class)
public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> handleException(org.springframework.security.oauth2.common.exceptions.OAuth2Exception e)
throws java.lang.Exception
java.lang.Exceptionprotected org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator getExceptionTranslator()