|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OAuth2ProtectedResourceDetails
Details for an OAuth2-protected resource.
| Nested Class Summary | |
|---|---|
static class |
OAuth2ProtectedResourceDetails.BearerTokenMethod
Enumeration of possible methods for bearing the access token for this resource. |
| Method Summary | |
|---|---|
String |
getAccessTokenUri()
The URL to use to obtain an OAuth2 access token. |
OAuth2ProtectedResourceDetails.BearerTokenMethod |
getBearerTokenMethod()
Get the bearer token method for this resource. |
String |
getBearerTokenName()
The name of the bearer token. |
String |
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. |
boolean |
isScoped()
Whether this resource is limited to a specific scope. |
boolean |
isSecretRequired()
Whether a secret is required to obtain an access token to this resource. |
| Method Detail |
|---|
String getId()
String getClientId()
String getAccessTokenUri()
boolean isScoped()
List<String> getScope()
resource isn't scoped.
boolean isSecretRequired()
String getClientSecret()
secret isn't required.
String getClientAuthenticationScheme()
String getGrantType()
OAuth2ProtectedResourceDetails.BearerTokenMethod getBearerTokenMethod()
String getBearerTokenName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||