Class: CantonStaticProvider
Defined in: canton/authentication/static.ts:53
Static auth provider — pre-obtained JWT with TLS transport security.
Mirrors Go authentication.NewStaticProvider. Use for remote/production
Canton participant endpoints.
Extends
StaticProviderBase
Constructors
Constructor
new CantonStaticProvider(
jwt:string):StaticProvider
Defined in: canton/authentication/static.ts:31
Creates a new static provider wrapping the given JWT.
Parameters
| Parameter | Type |
|---|---|
jwt | string |
Returns
StaticProvider
Inherited from
StaticProviderBase.constructor
Properties
type
readonlytype:CantonAuthType=AuthType.Static
Defined in: canton/authentication/static.ts:54
Overrides
StaticProviderBase.type
Methods
tokenSource()
tokenSource():
CantonTokenSource
Defined in: canton/authentication/static.ts:42
Returns the static token source.
Returns
Inherited from
StaticProviderBase.tokenSource