Interface ResourceAccess


public interface ResourceAccess
A ResourceAccess encapsulates the logic of required scope selection.
  • Method Summary

    Modifier and Type
    Method
    Description
    getRequiredScopes(Context context, Request request)
    Returns the scopes required to access the resource.
  • Method Details

    • getRequiredScopes

      Returns the scopes required to access the resource.
      Parameters:
      context - The current context which might be used to retrieve required scopes.
      request - The current OAuth2 request which might be used to retrieve required scopes.
      Returns:
      Scopes required to access the resource. Should never return null.
      Throws:
      ResponseException - If an error occurred while resolving scope set