跳转到内容

Authentication

此内容尚不支持你的语言。

type Authentication<D extends ReadonlyArray<Plugin.Dependency>> =
| {
config?: unknown
name: string
}
| {
none: {
identity?: string
}
}
| {
mtls:
| {
cert: string
key: string
}
| CredentialSource<ClientCertificate, D>
}
| {
bearer: {
token: CredentialToken<D>
}
}
| {
jwt: {
token: CredentialToken<D>
}
}

Defined in: host/credentials.ts:24

Authentication configuration shared by TypeScript connection descriptions.

Type Parameter
D extends ReadonlyArray<Plugin.Dependency>