JwtAuthorizationProvider class Null safety

A JWT based authorization provider.

The JWT is sent to the backend to be able to do operations requiring authorization such as FIDO UAF registration or de-registration.

Inheritance

Constructors

JwtAuthorizationProvider({required String jwt})
Default constructor for JwtAuthorizationProvider.
factory
JwtAuthorizationProvider.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a JwtAuthorizationProvider from a json.
factory

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
jwt → String
The JWT.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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