AiutaApiKeyAuth class

This class is used to authenticate Aiuta using ApiKey, all requests from SDK to Aiuta API are authenticated with this key. Please see Aiuta API documentation for instructions on how to get your ApiKey.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

AiutaApiKeyAuth.new({required String apiKey})
Create AiutaApiKeyAuth with your apiKey to access Aiuta API.
AiutaApiKeyAuth.fromJson(Map<String, dynamic> json)
factory

Properties

apiKey String
ApiKey is used to authenticate all requests.
final
hashCode int
The hash code for this object.
no setterinherited
mode AiutaAuthMode
Authentication mode is used to determine the type of authentication.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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