IAuthService.

SendCodeAsync(string, CancellationToken) Method

Summary

The first stage of authentication or registration. Request to send a verification code

Syntax

Task<ISentCode> SendCodeAsync(string phoneNumber, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
phoneNumber string Phone number
cancellationToken CancellationToken Сancellation token

Return Value

Type Description
Task<ISentCode> Information about the sent code