Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AMREntry

import type { AMREntry } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";

An authentication method reference (AMR) entry.

An entry designates what method was used by the user to verify their identity and at what time.

Note: Custom access token hooks can return AMR claims as either:

  • An array of AMREntry objects (detailed format with timestamps)
  • An array of strings (RFC-8176 compliant format)
interface AMREntry {
method: AMRMethod;
timestamp: number;
}

§Properties

§

Authentication method name.

§
timestamp: number
[src]

Timestamp when the method was successfully used. Represents number of seconds since 1st January 1970 (UNIX epoch) in UTC.