EnvMomentoTokenProvider class

Implemented types

Constructors

EnvMomentoTokenProvider(String envVarName, {String? baseEndpointOverride, EndpointOverrides? endpointOverrides})
Parses the API token stored in the environment variable envVarName. Also allows overrides of the base endpoint or cache and control endpoints.

Properties

apiKey String
The API key used to construct the CredentialProvider
no setteroverride
cacheEndpoint String
The URI for the data plane endpoint
no setteroverride
controlEndpoint String
The URI for the control plane endpoint
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited