Class: CantonInsecureStaticProvider
Defined in: canton/authentication/static.ts:63
Insecure static auth provider — pre-obtained JWT with no TLS.
Mirrors Go authentication.NewInsecureStaticProvider. Use for local devnet
/ testing where TLS is not configured.
Extends
StaticProviderBase
Constructors
Constructor
new CantonInsecureStaticProvider(
jwt:string):InsecureStaticProvider
Defined in: canton/authentication/static.ts:31
Creates a new static provider wrapping the given JWT.
Parameters
| Parameter | Type |
|---|---|
jwt | string |
Returns
InsecureStaticProvider
Inherited from
StaticProviderBase.constructor
Properties
type
readonlytype:CantonAuthType=AuthType.InsecureStatic
Defined in: canton/authentication/static.ts:64
Overrides
StaticProviderBase.type
Methods
tokenSource()
tokenSource():
CantonTokenSource
Defined in: canton/authentication/static.ts:42
Returns the static token source.
Returns
Inherited from
StaticProviderBase.tokenSource