iya-sts
    Preparing search index...

    Variable respond

    respond: (fields: any, context: any) => Promise<string> = ...

    Type Declaration

      • (fields: any, context: any): Promise<string>
      • Builds the response JWT: the response fields with iss, aud and exp, signed and, where registered, encrypted (section 2.1).

        Parameters

        • fields: any

          the parameters the response would have carried

        • context: any

          registered (the client's registration), issuer and clientId

        Returns Promise<string>

        a promise of the compact JWT or JWE

        an Error with its code marked when the registration cannot be honoured or encryption fails