IAuthService.

SignInAsync(string, ISentCode, string, CancellationToken) Method

Summary

The second stage of authentication. Send the received authentication code

Syntax

Task<TUser> SignInAsync(string phoneNumber, ISentCode sentCode, string code, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
phoneNumber string Phone number
sentCode ISentCode The object obtained in the previous step >
code string Received authentication code
cancellationToken CancellationToken Сancellation token

Return Value

Type Description
Task<TUser>