public interface AuthorizationRequestViewResolver
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.View |
getSuccessfulAuthorizationCodeView(AuthorizationRequest authorizationRequest,
String authorizationCode)
Resolve the resulting View for the AuthorizationCode flow
|
org.springframework.web.servlet.View |
getSuccessfulImplicitGrantView(AuthorizationRequest authorizationRequest,
OAuth2AccessToken accessToken)
Resolve the resulting View for the ImplicitGrant flow
|
org.springframework.web.servlet.View |
getUnsuccessfulView(AuthorizationRequest authorizationRequest,
OAuth2Exception failure)
Resolve the resulting View for a unsuccessful authorization request.
|
org.springframework.web.servlet.View getSuccessfulAuthorizationCodeView(AuthorizationRequest authorizationRequest, String authorizationCode)
authorizationRequest - the authorization request from the userauthorizationCode - the code to exchange for a tokenorg.springframework.web.servlet.View getSuccessfulImplicitGrantView(AuthorizationRequest authorizationRequest, OAuth2AccessToken accessToken)
authorizationRequest - the authorization request from the useraccessToken - the accessToken to include in the redirectorg.springframework.web.servlet.View getUnsuccessfulView(AuthorizationRequest authorizationRequest, OAuth2Exception failure)
authorizationRequest - the authorization request from the userfailure - reason why it went wrongCopyright © 2018. All rights reserved.