iya-sts
    Preparing search index...

    Variable rolesInClaims

    rolesInClaims: (claims: any) => string[] = rolesInClaims

    Type Declaration

      • (claims: any): string[]
      • Reads the roles out of a presented token's claims: an array, a single string, or a space- or comma-separated string.

        What it returns is trusted no more than the token it came from.

        Parameters

        • claims: any

          the token's claims

        Returns string[]

        the role names found, or an empty list