TokenRequest class Access Manager

Represents a token request.

Constructors

TokenRequest(Core _core, Keyset _keyset, int ttl, {Map<String, dynamic>? meta, String? authorizedUUID, String? authorizedUserId})

Properties

authorizedUserId String?
getter/setter pair
authorizedUUID String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
meta Map<String, dynamic>?
Token metadata.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl int
Time to live in seconds.
getter/setter pair

Methods

add(ResourceType type, {String? name, String? pattern, bool? create, bool? delete, bool? manage, bool? read, bool? write, bool? get, bool? update, bool? join}) → void
Adds new resource to this token request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send() Future<Token>
Sends the request to the server.
toString() String
A string representation of this object.
inherited

Operators

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