Function jwtAuthenticator

  • Returns an Authenticator function that returns a JwtAuth. If a seed is provided, the public key, and signature are calculated.

    Returns

    Parameters

    • ajwt: string | (() => string)

      the jwt

    • Optional seed: Uint8Array | (() => Uint8Array)

      the optional nkey seed

    Returns Authenticator

Generated using TypeDoc