make
本頁內容尚未翻譯。
function make(ca: string): { _tag: "Mtls" authenticate: ( peer: VerifiedCertificate, ) => Effect<string, AuthenticationFailed> tls: TlsPolicy}Defined in: runner/auth/mtls.ts:19
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
ca |
string |
Returns
Section titled “Returns”{ _tag: "Mtls" authenticate: (peer: VerifiedCertificate) => Effect<string, AuthenticationFailed> tls: TlsPolicy}| Name | Type | Defined in |
|---|---|---|
_tag |
"Mtls" |
Auth.ts:61 |
authenticate() |
(peer: VerifiedCertificate) => Effect<string, AuthenticationFailed> |
Auth.ts:63 |
tls |
TlsPolicy |
Auth.ts:62 |