|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface ClientDetails
Client details for OAuth 2
| 方法摘要 | |
|---|---|
Integer |
getAccessTokenValiditySeconds()
The access token validity period for this client. |
Map<String,Object> |
getAdditionalInformation()
Additional information for this client, not neeed by the vanilla OAuth protocol but might be useful, for example, for storing descriptive information. |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities()
Get the authorities that are granted to the OAuth client. |
Set<String> |
getAuthorizedGrantTypes()
The grant types for which this client is authorized. |
String |
getClientId()
The client id. |
String |
getClientSecret()
The client secret. |
Integer |
getRefreshTokenValiditySeconds()
The refresh token validity period for this client. |
Set<String> |
getRegisteredRedirectUri()
The pre-defined redirect URI for this client to use during the "authorization_code" access grant. |
Set<String> |
getResourceIds()
The resources that this client can access. |
Set<String> |
getScope()
The scope of this client. |
boolean |
isScoped()
Whether this client is limited to a specific scope. |
boolean |
isSecretRequired()
Whether a secret is required to authenticate this client. |
| 方法详细信息 |
|---|
String getClientId()
Set<String> getResourceIds()
boolean isSecretRequired()
String getClientSecret()
secret isn't required.
boolean isScoped()
Set<String> getScope()
Set<String> getAuthorizedGrantTypes()
Set<String> getRegisteredRedirectUri()
Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
Integer getAccessTokenValiditySeconds()
Integer getRefreshTokenValiditySeconds()
Map<String,Object> getAdditionalInformation()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||