IAuthService.

SignUpAsync(string, ISentCode, string, string, string, CancellationToken) Method

Summary

Register new user

Syntax

Task<TUser> SignUpAsync(string phoneNumber, ISentCode sentCode, string code, string firstName, string lastName, 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
firstName string First name
lastName string Last name
cancellationToken CancellationToken Сancellation token

Return Value

Type Description
Task<TUser>