public class OAuth2AuthorizationCodeRequestAuthenticationException
extends org.springframework.security.oauth2.core.OAuth2AuthenticationException
OAuth2AuthorizationCodeRequestAuthenticationProvider
when an attempt to authenticate the OAuth 2.0 Authorization Request (or Consent) fails.| 构造器和说明 |
|---|
OAuth2AuthorizationCodeRequestAuthenticationException(org.springframework.security.oauth2.core.OAuth2Error error,
OAuth2AuthorizationCodeRequestAuthenticationToken authorizationCodeRequestAuthentication)
Constructs an
OAuth2AuthorizationCodeRequestAuthenticationException using the provided parameters. |
OAuth2AuthorizationCodeRequestAuthenticationException(org.springframework.security.oauth2.core.OAuth2Error error,
java.lang.Throwable cause,
OAuth2AuthorizationCodeRequestAuthenticationToken authorizationCodeRequestAuthentication)
Constructs an
OAuth2AuthorizationCodeRequestAuthenticationException using the provided parameters. |
| 限定符和类型 | 方法和说明 |
|---|---|
OAuth2AuthorizationCodeRequestAuthenticationToken |
getAuthorizationCodeRequestAuthentication()
Returns the
Authentication instance of the OAuth 2.0 Authorization Request (or Consent), or null if not available. |
public OAuth2AuthorizationCodeRequestAuthenticationException(org.springframework.security.oauth2.core.OAuth2Error error,
@Nullable
OAuth2AuthorizationCodeRequestAuthenticationToken authorizationCodeRequestAuthentication)
OAuth2AuthorizationCodeRequestAuthenticationException using the provided parameters.error - the OAuth 2.0 ErrorauthorizationCodeRequestAuthentication - the Authentication instance of the OAuth 2.0 Authorization Request (or Consent)public OAuth2AuthorizationCodeRequestAuthenticationException(org.springframework.security.oauth2.core.OAuth2Error error,
java.lang.Throwable cause,
@Nullable
OAuth2AuthorizationCodeRequestAuthenticationToken authorizationCodeRequestAuthentication)
OAuth2AuthorizationCodeRequestAuthenticationException using the provided parameters.error - the OAuth 2.0 Errorcause - the root causeauthorizationCodeRequestAuthentication - the Authentication instance of the OAuth 2.0 Authorization Request (or Consent)@Nullable public OAuth2AuthorizationCodeRequestAuthenticationToken getAuthorizationCodeRequestAuthentication()
Authentication instance of the OAuth 2.0 Authorization Request (or Consent), or null if not available.