iya-sts
    Preparing search index...

    Variable subjectFromToken

    subjectFromToken: (
        claims: any,
        verified: boolean,
        credentialScopes: string[],
    ) => string = ...

    Type Declaration

      • (claims: any, verified: boolean, credentialScopes: string[]): string
      • Returns the person an access token names, when a credential issued on it may later sign them in: verified by this realm, a urn:uuid: subject naming an entry now, and granted for credential issuance.

        Parameters

        • claims: any

          the access token's claims

        • verified: boolean

          whether its signature verified against this realm's key and it is not disowned

        • credentialScopes: string[]

          the scopes this issuer's configurations name

        Returns string

        the subject, or '' when none qualifies