• Generate user token

    Parameters

    • authSecrets: AuthSecrets

      auth secrets

    • userId: string

      userId

    • tokenVerification: TokenVerification

      user context to verify the token valid or not

    • Optional opts: {
          jwtSignOptions?: SignOptions;
          stateful?: boolean;
      }

      jwt options and stateful options

      • Optional jwtSignOptions?: SignOptions
      • Optional stateful?: boolean

    Returns string

    token

Generated using TypeDoc