import { GeneratedSchema } from './../foundations/index.js'; /** * Application secrets for the `client_credentials` grant type and other confidential client use cases. Note that these secrets replace the `secret` column in the `applications` table, while the `secret` column is still used for the internal validation as `oidc-provider` does not support multiple secrets per client. * * @remarks This is a type for database creation. * @see {@link ApplicationSecret} for the original type. */ export type CreateApplicationSecret = { tenantId?: string; applicationId: string; /** The name of the secret. Should be unique within the application. */ name: string; value: string; createdAt?: number; expiresAt?: number | null; }; /** Application secrets for the `client_credentials` grant type and other confidential client use cases. Note that these secrets replace the `secret` column in the `applications` table, while the `secret` column is still used for the internal validation as `oidc-provider` does not support multiple secrets per client. */ export type ApplicationSecret = { tenantId: string; applicationId: string; /** The name of the secret. Should be unique within the application. */ name: string; value: string; createdAt: number; expiresAt: number | null; }; export type ApplicationSecretKeys = 'tenantId' | 'applicationId' | 'name' | 'value' | 'createdAt' | 'expiresAt'; export declare const ApplicationSecrets: GeneratedSchema;