iya-sts
    Preparing search index...

    Variable rolesOf

    rolesOf: (who: any) => string[] = rolesOf

    Type Declaration

      • (who: any): string[]
      • Returns every role a party holds in one decision: the built-in roles that apply and the configured ones.

        It never throws; a register that fails answers the built-in roles only.

        Parameters

        • who: any

          the security context { kind, name, authenticated, groups, scopes }; groups are looked up through the directory when not given

        Returns string[]

        the role names