Package com.adobe.granite.oauth.server
Interface OAuth2ResourceServer
-
@Deprecated @ProviderType public interface OAuth2ResourceServerDeprecated.Deprecated in favor of Adobe IMS integration.TheOAuth2ResourceServerprovides a simple API to handle scopes and resources of an OAuth Resource Server as defined in http://tools.ietf.org/html/rfc6749
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,Scope>getAllowedScopes()Deprecated.Get a Map of the scopes allowed by an OAuth resource server.ScopegetScope(java.lang.String name)Deprecated.Get an instance of a Scope defined by the scope name.
-
-
-
Method Detail
-
getAllowedScopes
java.util.Map<java.lang.String,Scope> getAllowedScopes()
Deprecated.Get a Map of the scopes allowed by an OAuth resource server. The map entry key is the scope name and the map entry value is the correspondingScopeinstance.- Returns:
- The Map of the scopes allowed by an OAuth resource server
-
getScope
Scope getScope(java.lang.String name)
Deprecated.Get an instance of a Scope defined by the scope name.- Parameters:
name- The name of the Scope- Returns:
- An instance of Scope
-
-