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

IdentitytoolkitRelyingpartyVerifyAssertionRequest

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

Request to verify the IDP assertion.

interface IdentitytoolkitRelyingpartyVerifyAssertionRequest {
autoCreate?: boolean;
delegatedProjectNumber?: bigint;
idToken?: string;
instanceId?: string;
pendingIdToken?: string;
postBody?: string;
requestUri?: string;
returnIdpCredential?: boolean;
returnRefreshToken?: boolean;
returnSecureToken?: boolean;
sessionId?: string;
tenantId?: string;
tenantProjectNumber?: bigint;
}

§Properties

§
autoCreate?: boolean
[src]

When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist.

§
delegatedProjectNumber?: bigint
[src]

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.

§
idToken?: string
[src]

The GITKit token of the authenticated user.

§
instanceId?: string
[src]

Instance id token of the app.

§
pendingIdToken?: string
[src]

The GITKit token for the non-trusted IDP pending to be confirmed by the user.

§
postBody?: string
[src]

The post body if the request is a HTTP POST.

§
requestUri?: string
[src]

The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP.

§
returnIdpCredential?: boolean
[src]

Whether return 200 and IDP credential rather than throw exception when federated id is already linked.

§
returnRefreshToken?: boolean
[src]

Whether to return refresh tokens.

§
returnSecureToken?: boolean
[src]

Whether return sts id token and refresh token instead of gitkit token.

§
sessionId?: string
[src]

Session ID, which should match the one in previous createAuthUri request.

§
tenantId?: string
[src]

For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.

§
tenantProjectNumber?: bigint
[src]

Tenant project number to be used for idp discovery.