Skip to main content
Version: 1.13.0

Type Alias: CantonAuthType

CantonAuthType = { AuthorizationCode: "authorizationCode"; ClientCredentials: "clientCredentials"; Static: "static"; }

Defined in: canton/authentication/types.ts:17

Supported authentication types for Canton participant APIs.

Properties

AuthorizationCode

readonly AuthorizationCode: "authorizationCode" = 'authorizationCode'

Defined in: canton/authentication/types.ts:23

OAuth2 authorization code + PKCE (interactive browser login).


ClientCredentials

readonly ClientCredentials: "clientCredentials" = 'clientCredentials'

Defined in: canton/authentication/types.ts:21

OAuth2 client credentials grant (machine-to-machine, CI/CD).


Static

readonly Static: "static" = 'static'

Defined in: canton/authentication/types.ts:19

Pre-obtained JWT.