@Deprecated public abstract class AbstractRedirectResourceDetails extends BaseOAuth2ProtectedResourceDetails
| Constructor and Description |
|---|
AbstractRedirectResourceDetails()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPreEstablishedRedirectUri()
Deprecated.
The redirect URI that has been pre-established with the server.
|
String |
getRedirectUri(AccessTokenRequest request)
Deprecated.
Extract a redirect uri from the resource and/or the current request.
|
String |
getUserAuthorizationUri()
Deprecated.
The URI to which the user is to be redirected to authorize an access token.
|
boolean |
isUseCurrentUri()
Deprecated.
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)
Deprecated.
The redirect URI that has been pre-established with the server.
|
void |
setUseCurrentUri(boolean useCurrentUri)
Deprecated.
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)
Deprecated.
The URI to which the user is to be redirected to authorize an access token.
|
equals, getAccessTokenUri, getAuthenticationScheme, getClientAuthenticationScheme, getClientId, getClientSecret, getGrantType, getId, getScope, getTokenName, hashCode, isAuthenticationRequired, isClientOnly, isScoped, setAccessTokenUri, setAuthenticationScheme, setClientAuthenticationScheme, setClientId, setClientSecret, setGrantType, setId, setScope, setTokenNamepublic AbstractRedirectResourceDetails()
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 DefaultAccessTokenRequestCopyright © 2020. All rights reserved.