iya-sts
    Preparing search index...

    Variable buildToken

    buildToken: (
        tokenType: any,
        subject: any,
        audience: any,
        lifetimeMin: any,
        authnContextClassRef: any,
        delegates?: any,
    ) => { id: any; ref: string; tokenType: string; xml: string } = ...

    Type Declaration

      • (
            tokenType: any,
            subject: any,
            audience: any,
            lifetimeMin: any,
            authnContextClassRef: any,
            delegates?: any,
        ): { id: any; ref: string; tokenType: string; xml: string }
      • Builds the token that goes inside wst:RequestedSecurityToken: a signed SAML 2.0 assertion, or a JWT in a BinarySecurityToken when the token type asks for one.

        Parameters

        • tokenType: any

          the requested token type

        • subject: any

          the subject

        • audience: any

          the audience

        • lifetimeMin: any

          the lifetime in minutes

        • authnContextClassRef: any

          how the requester authenticated; unspecified when absent

        • Optionaldelegates: any

          #186: the parties that acted for the subject, least to most recent; none when absent

        Returns { id: any; ref: string; tokenType: string; xml: string }

        the token's XML, its reference, its token type and its id