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

IdpConfig

import type { IdpConfig } from "https://googleapis.deno.dev/v1/identitytoolkit:v3.ts";

Template for a single idp configuration.

interface IdpConfig {
clientId?: string;
enabled?: boolean;
experimentPercent?: number;
provider?: string;
secret?: string;
whitelistedAudiences?: string[];
}

§Properties

§
clientId?: string
[src]

OAuth2 client ID.

§
enabled?: boolean
[src]

Whether this IDP is enabled.

§
experimentPercent?: number
[src]

Percent of users who will be prompted/redirected federated login for this IDP.

§
provider?: string
[src]

OAuth2 provider.

§
secret?: string
[src]

OAuth2 client secret.

§
whitelistedAudiences?: string[]
[src]

Whitelisted client IDs for audience check.