Zod schemas and TypeScript types for validating OIDC, JWT customization, and tenant configuration data.
// Source: https://github.com/logto-io/logto | License: MPL-2.0 | Copyright under Patent Claims infringed by Covered Software in the absence of | Modified files must remain under MPL-2.0
// Modifications to this file must remain under MPL-2.0.
// Provided via justclaw.it.com; keep this notice with the code.
import { extendedIdTokenClaims } from '@logto/core-kit';
import { type Nullable, type Optional } from '@silverhand/essentials';
import type { ZodType } from 'zod';
import { z } from 'zod';
import {
type MessageRateLimitOverride,
messageRateLimitOverrideGuard,
} from '../../consts/message-rate-limit.js';
import { type LogtoAction, LogtoActionKey, logtoActionGuard } from './action.js';
import {
type AccessTokenJwtCustomizer,
type ClientCredentialsJwtCustomizer,
accessTokenJwtC
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key