Skip to main content
Version: 1.13.0

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

ParameterType
jwtstring

Returns

InsecureStaticProvider

Inherited from

StaticProviderBase.constructor

Properties

type

readonly type: 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

CantonTokenSource

Inherited from

StaticProviderBase.tokenSource