discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

AuthUser class

Constructors

AuthUser.fromJson(Map<String, dynamic> json)

Properties

additionalData ↔ Map<String, dynamic>
getter/setter pair
authority ↔ Authority?
The authority of the user, or null for an anonymous user (a token without scopes) or an authority the client does not know.
getter/setter pair
customerId ↔ String?
getter/setter pair
enabled ↔ bool?
getter/setter pair
firstName ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isPublic ↔ bool?
getter/setter pair
lastName ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes ↔ List<String>
getter/setter pair
sub ↔ String
getter/setter pair
tenantId ↔ String
getter/setter pair
userId ↔ String?
getter/setter pair

Methods

isCustomerUser() → bool
isMfaConfigurationToken() → bool
isPreVerificationToken() → bool
isSystemAdmin() → bool
isTenantAdmin() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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