• Generate refresh token

    Parameters

    • authSecrets: AuthSecrets

      auth secrets

    • jti: string
    • userId: string

      userId

    • tokenVerification: TokenVerification

      user context to verify the token valid or not

    • Optional opts: {
          jwtSignOptions: SignOptions;
      }

      jwt options and stateful options

      • jwtSignOptions: SignOptions

    Returns string

    refresh token

Generated using TypeDoc