• Given a list of consent entries and a scope string, determine if all scopes have been approved.

    Parameters

    • consents: Consent[]

      An array of consent entries (sourced from the Globus Auth API) that will be used as the "haystack" for the search.

    • scope: string

      A full scope string that will be parsed into a tree, and compared against the consents.

    Returns boolean

    boolean