org.springframework.security.oauth2.provider
Interface AuthorizationRequest

All Known Implementing Classes:
DefaultAuthorizationRequest

public interface AuthorizationRequest

Base class representing a request for authorization. There are convenience methods for the well-known properties required by the OAUth2 spec, and a set of generic authorizationParameters to allow for extensions.

Author:
Ryan Heaton, Dave Syer, Amanda Anganes

Field Summary
static String CLIENT_ID
           
static String REDIRECT_URI
           
static String RESPONSE_TYPE
           
static String SCOPE
           
static String STATE
           
static String USER_OAUTH_APPROVAL
           
 
Method Summary
 Map<String,String> getApprovalParameters()
           
 Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
           
 Map<String,String> getAuthorizationParameters()
           
 String getClientId()
           
 String getRedirectUri()
           
 Set<String> getResourceIds()
           
 Set<String> getResponseTypes()
           
 Set<String> getScope()
           
 String getState()
           
 boolean isApproved()
           
 boolean isDenied()
           
 

Field Detail

CLIENT_ID

static final String CLIENT_ID
See Also:
Constant Field Values

STATE

static final String STATE
See Also:
Constant Field Values

SCOPE

static final String SCOPE
See Also:
Constant Field Values

REDIRECT_URI

static final String REDIRECT_URI
See Also:
Constant Field Values

RESPONSE_TYPE

static final String RESPONSE_TYPE
See Also:
Constant Field Values

USER_OAUTH_APPROVAL

static final String USER_OAUTH_APPROVAL
See Also:
Constant Field Values
Method Detail

getAuthorizationParameters

Map<String,String> getAuthorizationParameters()

getApprovalParameters

Map<String,String> getApprovalParameters()

getClientId

String getClientId()

getScope

Set<String> getScope()

getResourceIds

Set<String> getResourceIds()

getAuthorities

Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()

isApproved

boolean isApproved()

isDenied

boolean isDenied()

getState

String getState()

getRedirectUri

String getRedirectUri()

getResponseTypes

Set<String> getResponseTypes()


Copyright © 2012. All Rights Reserved.