Auth class Null safety

This message defines request authentication attributes.

Terminology is based on the JSON Web Token (JWT) standard, but the terms also correlate to concepts in other standards.

Constructors

Auth({List<String>? accessLevels, List<String>? audiences, Map<String, Object?>? claims, String? presenter, String? principal})
Auth.fromJson(Map json_)

Properties

accessLevels List<String>?
A list of access level resource names that allow resources to be accessed by authenticated requester.
read / write
audiences List<String>?
The intended audience(s) for this authentication information.
read / write
claims Map<String, Object?>?
Structured claims presented with the credential.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
presenter String?
The authorized presenter of the credential.
read / write
principal String?
The authenticated principal.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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