Interface OAuth2ResourceServer


@Deprecated @ProviderType public interface OAuth2ResourceServer
Deprecated.
Deprecated in favor of Adobe IMS integration.
The OAuth2ResourceServer provides a simple API to handle scopes and resources of an OAuth Resource Server as defined in http://tools.ietf.org/html/rfc6749
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Get a Map of the scopes allowed by an OAuth resource server.
    Deprecated.
    Get an instance of a Scope defined by the scope name.
  • Method Details

    • getAllowedScopes

      Map<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 corresponding Scope instance.
      Returns:
      The Map of the scopes allowed by an OAuth resource server
    • getScope

      Scope getScope(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