OutOfBandPayload class abstract

This object describes the contents that are sent by nevisFIDO in the out-of-band use case to start an operation (registration, authentication or deregistration).

This object can be obtained from its JSON representation, which is included in a push notification message, in a QR code or in a universal link, depending on the out-of-band mechanism used.

Constructors

OutOfBandPayload({required ContentType contentType, required String version, required RedeemData redeemData, String? data})
Default constructor for OutOfBandPayload.
factory
OutOfBandPayload.fromJson(Map<String, dynamic> json)
Alternate constructor that creates OutOfBandPayload from a json.
factory

Properties

contentType ContentType
The content type of the NMA (Nevis Mobile Authentication) data.
no setter
data String?
The optional additional information that it was provided when triggering the out-of-band operation.
no setter
hashCode int
The hash code for this object.
no setterinherited
redeemData RedeemData
The object containing the redemption information.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The version of the NMA (Nevis Mobile Authentication) data.
no setter

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