C# Класс KidoZen.KZApplication

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PassiveAuthenticationInformation string>.Dictionary

Открытые методы

Метод Описание
Authenticate ( string user, string password, string provider = "default" ) : Task

Authenticates an user using an identity procider

GetDeviceUniqueID ( ) : string

Returns the unique ID for the device

Initialize ( ) : Task
KZApplication ( string marketPlaceUri, string name, String appicationKey ) : System
SendByServiceBus ( Uri url, string method = "GET", Stream content = null, string>.Dictionary headers = null, bool secured = true, TimeSpan timeout = null, bool cache = false ) : Task>
SignOut ( ) : void

Приватные методы

Метод Описание
AllocServices ( Newtonsoft.Json.Linq.JObject config ) : void
ByteArrayToHex ( byte barray ) : string

Описание методов

Authenticate() публичный Метод

Authenticates an user using an identity procider
public Authenticate ( string user, string password, string provider = "default" ) : Task
user string User's name
password string User's password
provider string Provider name
Результат Task

GetDeviceUniqueID() публичный статический Метод

Returns the unique ID for the device
public static GetDeviceUniqueID ( ) : string
Результат string

Initialize() публичный Метод

public Initialize ( ) : Task
Результат Task

KZApplication() публичный Метод

public KZApplication ( string marketPlaceUri, string name, String appicationKey ) : System
marketPlaceUri string
name string
appicationKey String
Результат System

SendByServiceBus() публичный Метод

public SendByServiceBus ( Uri url, string method = "GET", Stream content = null, string>.Dictionary headers = null, bool secured = true, TimeSpan timeout = null, bool cache = false ) : Task>
url Uri
method string
content Stream
headers string>.Dictionary
secured bool
timeout TimeSpan
cache bool
Результат Task>

SignOut() публичный Метод

public SignOut ( ) : void
Результат void

Описание свойств

PassiveAuthenticationInformation публичное свойство

public Dictionary PassiveAuthenticationInformation
Результат string>.Dictionary