|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.springframework.security.oauth2.client.resource.BaseOAuth2ProtectedResourceDetails
public class BaseOAuth2ProtectedResourceDetails
| 构造方法摘要 | |
|---|---|
BaseOAuth2ProtectedResourceDetails()
|
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object o)
|
String |
getAccessTokenUri()
The URL to use to obtain an OAuth2 access token. |
AuthenticationScheme |
getAuthenticationScheme()
Get the bearer token method for this resource. |
AuthenticationScheme |
getClientAuthenticationScheme()
The scheme to use to authenticate the client. |
String |
getClientId()
The client identifier to use for this protected resource. |
String |
getClientSecret()
The client secret. |
String |
getGrantType()
The grant type for obtaining an acces token for this resource. |
String |
getId()
Get a unique identifier for these protected resource details. |
List<String> |
getScope()
The scope of this resource. |
String |
getTokenName()
The name of the bearer token. |
int |
hashCode()
|
boolean |
isAuthenticationRequired()
Whether a secret is required to obtain an access token to this resource. |
boolean |
isClientOnly()
A flag to indicate that this resource is only to be used with client credentials, thus allowing access tokens to be cached independent of a user's session. |
boolean |
isScoped()
Whether this resource is limited to a specific scope. |
void |
setAccessTokenUri(String accessTokenUri)
|
void |
setAuthenticationScheme(AuthenticationScheme authorizationScheme)
|
void |
setClientAuthenticationScheme(AuthenticationScheme clientAuthenticationScheme)
|
void |
setClientId(String clientId)
|
void |
setClientSecret(String clientSecret)
|
void |
setGrantType(String grantType)
|
void |
setId(String id)
|
void |
setScope(List<String> scope)
|
void |
setTokenName(String tokenName)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public BaseOAuth2ProtectedResourceDetails()
| 方法详细信息 |
|---|
public String getId()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getIdpublic void setId(String id)
public String getClientId()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getClientIdpublic void setClientId(String clientId)
public String getAccessTokenUri()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getAccessTokenUripublic void setAccessTokenUri(String accessTokenUri)
public boolean isScoped()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 isScopedpublic List<String> getScope()
OAuth2ProtectedResourceDetails 复制的描述resource isn't scoped.
OAuth2ProtectedResourceDetails 中的 getScopepublic void setScope(List<String> scope)
public boolean isAuthenticationRequired()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 isAuthenticationRequiredpublic String getClientSecret()
OAuth2ProtectedResourceDetails 复制的描述secret isn't required.
OAuth2ProtectedResourceDetails 中的 getClientSecretpublic void setClientSecret(String clientSecret)
public AuthenticationScheme getClientAuthenticationScheme()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getClientAuthenticationSchemepublic void setClientAuthenticationScheme(AuthenticationScheme clientAuthenticationScheme)
public boolean isClientOnly()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 isClientOnlypublic AuthenticationScheme getAuthenticationScheme()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getAuthenticationSchemepublic void setAuthenticationScheme(AuthenticationScheme authorizationScheme)
public String getTokenName()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getTokenNamepublic void setTokenName(String tokenName)
public String getGrantType()
OAuth2ProtectedResourceDetails 复制的描述
OAuth2ProtectedResourceDetails 中的 getGrantTypepublic void setGrantType(String grantType)
public boolean equals(Object o)
Object 中的 equalspublic int hashCode()
Object 中的 hashCode
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||