Auth class

Autenticação do SDK da Rede (RedeAuthentication).

O SDK recebe o valor da transação em centavos (amount) junto com a descrição; o PIN é digitado pelo cliente na tela do próprio SDK.

Use o parâmetro nomeado amount. O antigo pin continua aceito por compatibilidade (ele sempre foi enviado ao nativo como amount), mas está obsoleto e será removido em uma versão futura.

Constructors

Auth()

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

authWithChangePin({required String description, int? amount, int? pin}) → Future<RedeAuthResponse>
authWithOnlyPin({required String description, int? amount, int? pin}) → Future<RedeAuthResponse>
authWithValueAndPin({required String description, int? amount, int? pin}) → Future<RedeAuthResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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