public class DefaultAuthorizationRequestViewResolver extends Object implements AuthorizationRequestViewResolver
| Constructor and Description |
|---|
DefaultAuthorizationRequestViewResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appendToFragment(AuthorizationRequest authorizationRequest) |
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.
|
public DefaultAuthorizationRequestViewResolver()
public org.springframework.web.servlet.View getSuccessfulAuthorizationCodeView(AuthorizationRequest authorizationRequest, String authorizationCode)
AuthorizationRequestViewResolvergetSuccessfulAuthorizationCodeView in interface AuthorizationRequestViewResolverauthorizationRequest - the authorization request from the userauthorizationCode - the code to exchange for a tokenpublic org.springframework.web.servlet.View getSuccessfulImplicitGrantView(AuthorizationRequest authorizationRequest, OAuth2AccessToken accessToken)
AuthorizationRequestViewResolvergetSuccessfulImplicitGrantView in interface AuthorizationRequestViewResolverauthorizationRequest - the authorization request from the useraccessToken - the accessToken to include in the redirectpublic org.springframework.web.servlet.View getUnsuccessfulView(AuthorizationRequest authorizationRequest, OAuth2Exception failure)
AuthorizationRequestViewResolvergetUnsuccessfulView in interface AuthorizationRequestViewResolverauthorizationRequest - the authorization request from the userfailure - reason why it went wrongprotected boolean appendToFragment(AuthorizationRequest authorizationRequest)
Copyright © 2017. All rights reserved.