Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dashport/types.ts>UserProfile

Local and OAuth authentication middleware for Deno
Latest
interface UserProfile
import { type UserProfile } from "https://deno.land/x/dashport@v1.2.1/types.ts";

Different OAuths will return different user information in different structures. Dashport strategies should break down and reconstruct the user info into the standardized UserProfile below

Properties

provider: string
providerUserId: string
optional
displayName: string
optional
name: { familyName?: string; givenName?: string; middleName?: string; }
optional
emails: Array<string>