|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth2.client.resource.BaseOAuth2ProtectedResourceDetails
org.springframework.security.oauth2.client.token.grant.redirect.AbstractRedirectResourceDetails
public abstract class AbstractRedirectResourceDetails
| Constructor Summary | |
|---|---|
AbstractRedirectResourceDetails()
|
|
| Method Summary | |
|---|---|
String |
getPreEstablishedRedirectUri()
The redirect URI that has been pre-established with the server. |
String |
getRedirectUri(AccessTokenRequest request)
Extract a redirect uri from the resource and/or the current request. |
String |
getUserAuthorizationUri()
The URI to which the user is to be redirected to authorize an access token. |
boolean |
isUseCurrentUri()
Flag to signal that the current URI (if set) in the request should be used in preference to the pre-established redirect URI. |
void |
setPreEstablishedRedirectUri(String preEstablishedRedirectUri)
The redirect URI that has been pre-established with the server. |
void |
setUseCurrentUri(boolean useCurrentUri)
Flag to signal that the current URI (if set) in the request should be used in preference to the pre-established redirect URI. |
void |
setUserAuthorizationUri(String userAuthorizationUri)
The URI to which the user is to be redirected to authorize an access token. |
| Methods inherited from class org.springframework.security.oauth2.client.resource.BaseOAuth2ProtectedResourceDetails |
|---|
equals, getAccessTokenUri, getAuthenticationScheme, getClientAuthenticationScheme, getClientId, getClientSecret, getGrantType, getId, getScope, getTokenName, hashCode, isAuthenticationRequired, isClientOnly, isScoped, setAccessTokenUri, setAuthenticationScheme, setClientAuthenticationScheme, setClientId, setClientSecret, setGrantType, setId, setScope, setTokenName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRedirectResourceDetails()
| Method Detail |
|---|
public void setUseCurrentUri(boolean useCurrentUri)
useCurrentUri - the flag value to set (default true)public boolean isUseCurrentUri()
public String getUserAuthorizationUri()
public void setUserAuthorizationUri(String userAuthorizationUri)
userAuthorizationUri - The URI to which the user is to be redirected to authorize an access token.public String getPreEstablishedRedirectUri()
public void setPreEstablishedRedirectUri(String preEstablishedRedirectUri)
preEstablishedRedirectUri - The redirect URI that has been pre-established with the server.public String getRedirectUri(AccessTokenRequest request)
request - the current DefaultAccessTokenRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||