KmsToken class

Constructors

KmsToken({String? accessToken, int? expiresIn, String? tokenType})
Returns a new KmsToken instance.

Properties

accessToken ↔ String?
AccessToken is IAM's own JWT, verbatim. Its owner claim scopes it to exactly one org, which is what every secret operation then reads.
getter/setter pair
expiresIn ↔ int?
ExpiresIn is the token's lifetime in seconds, as IAM reported it.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokenType ↔ String?
TokenType is Bearer.
getter/setter pair

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → KmsToken?
Returns a new KmsToken instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<KmsToken>
mapFromJson(dynamic json) → Map<String, KmsToken>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<KmsToken>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.