|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface OAuth2ProtectedResourceDetails
Details for an OAuth2-protected resource.
| 方法摘要 | |
|---|---|
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. |
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. |
| 方法详细信息 |
|---|
String getId()
String getClientId()
String getAccessTokenUri()
boolean isScoped()
List<String> getScope()
resource isn't scoped.
boolean isAuthenticationRequired()
String getClientSecret()
secret isn't required.
AuthenticationScheme getClientAuthenticationScheme()
String getGrantType()
AuthenticationScheme getAuthenticationScheme()
String getTokenName()
boolean isClientOnly()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||