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.| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
OAuth2AuthorizationCodeRequestAuthenticationToken |
getAuthorizationCodeRequestAuthentication()
Returns the
Authentication instance of the OAuth 2.0 Authorization Request (or Consent), or null if not available. |
getErrorpublic 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.OAuth2AuthorizationCodeRequestAuthenticationToken