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

TokenValidityUnitsType

import type { TokenValidityUnitsType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";

The data type TokenValidityUnits specifies the time units you use when you set the duration of ID, access, and refresh tokens.

interface TokenValidityUnitsType {
AccessToken?: TimeUnitsType | null;
IdToken?: TimeUnitsType | null;
RefreshToken?: TimeUnitsType | null;
}

§Properties

§
AccessToken?: TimeUnitsType | null
[src]

A time unit of seconds, minutes, hours, or days for the value that you set in the AccessTokenValidity parameter. The default AccessTokenValidity time unit is hours.

§
IdToken?: TimeUnitsType | null
[src]

A time unit of seconds, minutes, hours, or days for the value that you set in the IdTokenValidity parameter. The default IdTokenValidity time unit is hours.

§
RefreshToken?: TimeUnitsType | null
[src]

A time unit of seconds, minutes, hours, or days for the value that you set in the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit is days.