TestClientConfig class
- Inheritance
-
- Object
- BaseConfig
- BaseClientConfig
- TestClientConfig
Constructors
-
TestClientConfig([Map<
String, String> ? env])
Properties
- baseUrl → String
-
Gets the BaseClientConfig.baseUrl from
API_BASE_URLin the provided env.no setteroverride - cognitoClientId → String
-
The client identifier issued by Cognito.
no setteroverride
- cognitoClientSecret → String?
-
The client secret issued by Cognito.
no setteroverride
- cognitoEnabled → bool
-
Indicates if cognito is enabled or not.
no setteroverride
- cognitoEndpoint → String?
-
The endpoint used to communication with Cognito. Typically endaft uses
https://id.your_domain.tld.no setteroverride - cognitoUserPoolId → String
-
The Cognito user pool identifier.
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
- timeoutSeconds → int
-
Gets the BaseClientConfig.timeoutSeconds from
API_TIMEOUT_SECONDSin the provided env.no setteroverride
Methods
-
augmentWith(
Map< String, String> env) → String -
Adds a set of values to the environment and returns the token for
removing the augments. Augments can be removed calling removeAugment
with the returned token.
inherited
-
getOr(
String name, {required String fallback}) → String -
Gets a value by
namefrom the underlying config map, or thefallbackif the underlying map does not contain thename.inherited -
getOrThrow(
String name) → String -
Gets a value by
namefrom the underlying config map, or throws a MissingConfigError if the underlying map does not contain thename.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAugment(
String token) → Map< String, String> ? -
Returns the removed environment variable set associated to the
token.inherited -
resolveUrl(
String relative) → Uri -
Resolves a
relativeURL to an absolute using the baseUrl.override -
toString(
) → String -
A string representation of this object.
inherited
-
tryGet(
String name) → String? -
Gets a value by
namefrom the underlying config map, ornullif the underlying map does not contain thename.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited