AuthorizationProvider class abstract

Provides the authorization elements required to perform protected operations.

For instance, when registering FIDO UAF credentials, the HTTP client must authenticate to obtain some authorization tokens (HTTP cookies, JWT, etc.). The client can access the protected resource (the FIDO UAF registration endpoints in this case) by providing these authorization elements.

Some operations can also generate AuthorizationProvider that the application can use to access protected resources. This is the case typically of authentication: once the authentication is completed, some authorization tokens might have been granted.

See:

Implementers

Constructors

AuthorizationProvider.fromJson(Map<String, dynamic> json)
Alternate constructor that creates an AuthorizationProvider from a json.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent 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