|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.springframework.security.oauth2.client.resource.BaseOAuth2ProtectedResourceDetails
org.springframework.security.oauth2.client.token.grant.redirect.AbstractRedirectResourceDetails
public abstract class AbstractRedirectResourceDetails
| 构造方法摘要 | |
|---|---|
AbstractRedirectResourceDetails()
|
|
| 方法摘要 | |
|---|---|
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. |
| 从类 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 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public 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 DefaultAccessTokenRequest
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||