Summary
The first stage of authentication or registration. Request to send a verification code
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IAuthService
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 |
Information about the sent code |