Index
All Classes and Interfaces|All Packages|Serialized Form
B
- blankScope() - Static method in exception com.atlassian.oauth2.scopes.api.InvalidScopeException
C
- clearRequestCache() - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Removes the scopes request cache.
- close() - Method in interface com.atlassian.oauth2.scopes.api.Closeable
- Closeable - Interface in com.atlassian.oauth2.scopes.api
-
AutoCloseableinterface that throws no checked exceptions. - com.atlassian.oauth2.scopes.api - package com.atlassian.oauth2.scopes.api
- CompositeScope - Class in com.atlassian.oauth2.scopes.api
- CompositeScope(Set<Scope>) - Constructor for class com.atlassian.oauth2.scopes.api.CompositeScope
- containsOnlyThisScope(Scope) - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Checks if the cache contains only the passed scope
- copy() - Method in class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
E
- equals(Object) - Method in class com.atlassian.oauth2.scopes.api.Permission
- equals(Object) - Method in class com.atlassian.oauth2.scopes.api.ScopeDescription
- equals(Object) - Method in class com.atlassian.oauth2.scopes.api.ScopeDescriptionWithTitle
- equals(Object) - Method in class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
G
- getApplicationNameForRequest() - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Gets the application name for the OAuth 2 request if this is one Otherwise returns an empty Optional
- getApplicationNameSupplier() - Method in class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
- getAvailableScopes() - Method in interface com.atlassian.oauth2.scopes.api.ScopeResolver
-
Gets the set of scopes for this product
- getDescription() - Method in class com.atlassian.oauth2.scopes.api.ScopeDescriptionWithTitle
- getDescriptions() - Method in class com.atlassian.oauth2.scopes.api.ScopeDescription
- getName() - Method in class com.atlassian.oauth2.scopes.api.CompositeScope
- getName() - Method in interface com.atlassian.oauth2.scopes.api.Scope
- getPermissions() - Method in class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
- getPermissionsForRequest() - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Gets the current set of permissions for the request
- getRequestCache() - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Gets a copy of the stored request cache
- getScope(String) - Method in interface com.atlassian.oauth2.scopes.api.ScopeResolver
-
Will try to get the scope from the name.
- getScopeAndInheritedScopes() - Method in class com.atlassian.oauth2.scopes.api.CompositeScope
- getScopeAndInheritedScopes() - Method in interface com.atlassian.oauth2.scopes.api.Scope
- getScopeDescriptions() - Method in interface com.atlassian.oauth2.scopes.api.ScopeDescriptionService
-
Used to get the descriptions for all scopes.
- getScopeDescriptionsWithTitle() - Method in interface com.atlassian.oauth2.scopes.api.ScopeDescriptionService
-
Used to get the description title and description body for all scopes.
- getTitle() - Method in class com.atlassian.oauth2.scopes.api.ScopeDescriptionWithTitle
H
- hashCode() - Method in class com.atlassian.oauth2.scopes.api.Permission
- hashCode() - Method in class com.atlassian.oauth2.scopes.api.ScopeDescription
- hashCode() - Method in class com.atlassian.oauth2.scopes.api.ScopeDescriptionWithTitle
- hashCode() - Method in class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
- hasPermission(Permission) - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Using the scope cache, checks if the request has the specified permission
- hasPermission(String) - Method in class com.atlassian.oauth2.scopes.api.Permission
- hasScopePermission(Scope, Scope) - Method in interface com.atlassian.oauth2.scopes.api.ScopeResolver
-
Will check if the tokenScope has permission against the configScope If the tokenScope is higher than the configScope then this will return false
I
- InvalidScopeException - Exception in com.atlassian.oauth2.scopes.api
- InvalidScopeException(Collection<String>) - Constructor for exception com.atlassian.oauth2.scopes.api.InvalidScopeException
- InvalidScopeException(Collection<String>, Throwable) - Constructor for exception com.atlassian.oauth2.scopes.api.InvalidScopeException
P
- permission(String) - Static method in class com.atlassian.oauth2.scopes.api.Permission
- Permission - Class in com.atlassian.oauth2.scopes.api
- permissionWithTarget(String, Object) - Static method in class com.atlassian.oauth2.scopes.api.Permission
- permissionWithTargetExcluded(String, Object) - Static method in class com.atlassian.oauth2.scopes.api.Permission
R
- RequestCache() - Constructor for class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
- RequestCache(Collection<Permission>, Supplier<Optional<String>>) - Constructor for class com.atlassian.oauth2.scopes.api.ScopesRequestCache.RequestCache
S
- Scope - Interface in com.atlassian.oauth2.scopes.api
- ScopeDescription - Class in com.atlassian.oauth2.scopes.api
- ScopeDescription(String) - Constructor for class com.atlassian.oauth2.scopes.api.ScopeDescription
- ScopeDescription(List<String>) - Constructor for class com.atlassian.oauth2.scopes.api.ScopeDescription
- ScopeDescriptionService - Interface in com.atlassian.oauth2.scopes.api
- ScopeDescriptionWithTitle - Class in com.atlassian.oauth2.scopes.api
- ScopeDescriptionWithTitle(String, String) - Constructor for class com.atlassian.oauth2.scopes.api.ScopeDescriptionWithTitle
- ScopeResolver - Interface in com.atlassian.oauth2.scopes.api
-
A product-agnostic service for obtaining
Scopeobjects by name. - ScopesRequestCache - Interface in com.atlassian.oauth2.scopes.api
- ScopesRequestCache.RequestCache - Class in com.atlassian.oauth2.scopes.api
-
The state of the ScopesRequestCache
- setRequestCache(ScopesRequestCache.RequestCache) - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Allows the request cache to be manually set.
T
- toString() - Method in class com.atlassian.oauth2.scopes.api.CompositeScope
- toString() - Method in class com.atlassian.oauth2.scopes.api.Permission
W
- withScopes(Scope, Supplier<Optional<String>>) - Method in interface com.atlassian.oauth2.scopes.api.ScopesRequestCache
-
Applies scopes to Request cache.
All Classes and Interfaces|All Packages|Serialized Form