iya-sts
    Preparing search index...
    mayActNames: (
        mayAct: any,
        actor: { aliases?: string[]; iss?: string; sub: string },
    ) => boolean = DelegationPolicy.mayActNames

    Type Declaration

      • (mayAct: any, actor: { aliases?: string[]; iss?: string; sub: string }): boolean
      • Says whether a may_act claim names this actor; an iss in the claim must match too.

        Parameters

        • mayAct: any

          the verified subject token's may_act claim

        • actor: { aliases?: string[]; iss?: string; sub: string }

          sub, and iss and aliases where known

        Returns boolean

        true when the claim names the actor