Skip to content

Documentation


Documentation / @kizami/db / index / upsertTenantOidcSettings

Function: upsertTenantOidcSettings() ​

upsertTenantOidcSettings(db, input): Promise<{ allowUnverifiedEmail: boolean; clientId: string | null; clientSecret: string | null; enabled: boolean; issuer: string | null; tenantId: string; updatedAt: number; updatedBy: string; }>

Defined in: packages/db/src/queries/oidc.ts:31

テナントの OIDC 設定を作成、または既存行を丸ごと置き換える(部分更新ではない)。

Parameters ​

db ​

Database

input ​

UpsertTenantOidcSettingsInput

Returns ​

Promise<{ allowUnverifiedEmail: boolean; clientId: string | null; clientSecret: string | null; enabled: boolean; issuer: string | null; tenantId: string; updatedAt: number; updatedBy: string; }>