C# Class kasthack.vksharp.Api.MethodGroup_Auth

ファイルを表示 Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
CheckPhone ( string phone, string clientSecret, int clientId = null ) : Task
CheckPhoneSync ( string phone, string clientSecret, int clientId = null ) : bool
Confirm ( int clientId, string clientSecret, string phone, string code, string password = "", bool testMode = false, int intro = null ) : Task
ConfirmSync ( int clientId, string clientSecret, string phone, string code, string password = "", bool testMode = false, int intro = null ) : ConfirmResult
Restore ( long phone ) : Task
RestoreSync ( long phone ) : AuthRestore

Private Methods

Method Description
MethodGroup_Auth ( Api parent ) : System

Method Details

CheckPhone() public method

public CheckPhone ( string phone, string clientSecret, int clientId = null ) : Task
phone string
clientSecret string
clientId int
return Task

CheckPhoneSync() public method

public CheckPhoneSync ( string phone, string clientSecret, int clientId = null ) : bool
phone string
clientSecret string
clientId int
return bool

Confirm() public method

public Confirm ( int clientId, string clientSecret, string phone, string code, string password = "", bool testMode = false, int intro = null ) : Task
clientId int
clientSecret string
phone string
code string
password string
testMode bool
intro int
return Task

ConfirmSync() public method

public ConfirmSync ( int clientId, string clientSecret, string phone, string code, string password = "", bool testMode = false, int intro = null ) : ConfirmResult
clientId int
clientSecret string
phone string
code string
password string
testMode bool
intro int
return kasthack.vksharp.DataTypes.ResponseEntities.ConfirmResult

Restore() public method

public Restore ( long phone ) : Task
phone long
return Task

RestoreSync() public method

public RestoreSync ( long phone ) : AuthRestore
phone long
return kasthack.vksharp.DataTypes.ResponseEntities.AuthRestore