Skip to content

Variable: authRequestResultSchema

const authRequestResultSchema: ZodObject<{ ok: ZodLiteral<true>; retryAfter: ZodOptional<ZodNumber>; }, $strip>

Accepted one-time-password request result and optional retry delay.

  • ok: Always true for an accepted one-time-password request.
  • retryAfter (optional): Seconds to wait before requesting another code.