CreateJWTTemplateRequest class

Constructors

CreateJWTTemplateRequest.new({required String name, required Object claims, num? lifetime, num? allowedClockSkew, bool? customSigningKey, String? signingAlgorithm, String? signingKey})
Returns a new CreateJWTTemplateRequest instance.

Properties

allowedClockSkew num?
JWT token allowed clock skew
getter/setter pair
claims Object
JWT template claims in JSON format
getter/setter pair
customSigningKey bool?
Whether a custom signing key/algorithm is also provided for this template
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
lifetime num?
JWT token lifetime
getter/setter pair
name String
JWT template name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signingAlgorithm String?
The custom signing algorithm to use when minting JWTs. Required if custom_signing_key is true.
getter/setter pair
signingKey String?
The custom signing private key to use when minting JWTs. Required if custom_signing_key is true.
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) CreateJWTTemplateRequest?
Returns a new CreateJWTTemplateRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<CreateJWTTemplateRequest>
mapFromJson(dynamic json) Map<String, CreateJWTTemplateRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<CreateJWTTemplateRequest>>

Constants

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