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

ReauthSettings

import type { ReauthSettings } from "https://googleapis.deno.dev/v1/iap:v1.ts";

Configuration for IAP reauthentication policies.

interface ReauthSettings {
maxAge?: number;
method?:
| "METHOD_UNSPECIFIED"
| "LOGIN"
| "PASSWORD"
| "SECURE_KEY"
| "ENROLLED_SECOND_FACTORS";
policyType?: "POLICY_TYPE_UNSPECIFIED" | "MINIMUM" | "DEFAULT";
}

§Properties

§
maxAge?: number
[src]

Reauth session lifetime, how long before a user has to reauthenticate again.

§
method?: "METHOD_UNSPECIFIED" | "LOGIN" | "PASSWORD" | "SECURE_KEY" | "ENROLLED_SECOND_FACTORS"
[src]

Reauth method requested.

§
policyType?: "POLICY_TYPE_UNSPECIFIED" | "MINIMUM" | "DEFAULT"
[src]

How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.