|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientDetails
Client details for OAuth 2
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |