Interface ScopeClaim

All Superinterfaces:
SerializableAsMap

public interface ScopeClaim extends SerializableAsMap
A ScopeClaim is a claim that can be authorized, and that is expanded from a Scope.

An example of how Scope and ScopeClaim relate, is OpenId Connect's 'profile' scope. This scope expands to the ScopeClaims 'name', 'family_name', etc. (a total of 14).

Since:
3.0.0
  • Method Details

    • getScope

      String getScope()
      Returns:
      the name of the scope of the ScopeClaim
    • getName

      String getName()
      Returns:
      the name of the claim of the ScopeClaim
    • isRequired

      boolean isRequired()
      Returns:
      true if the ScopeClaim is required, i.e. it must be granted by every token based on this delegation