C# Class KidoZen.KZApplication

Afficher le fichier Open project: kidozen/kido-xamarin Class Usage Examples

Méthodes publiques

Свойство Type Description
PassiveAuthenticationInformation string>.Dictionary

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AllocServices ( Newtonsoft.Json.Linq.JObject config ) : void
ByteArrayToHex ( byte barray ) : string

Method Details

Authenticate() public méthode

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
Résultat Task

GetDeviceUniqueID() public static méthode

Returns the unique ID for the device
public static GetDeviceUniqueID ( ) : string
Résultat string

Initialize() public méthode

public Initialize ( ) : Task
Résultat Task

KZApplication() public méthode

public KZApplication ( string marketPlaceUri, string name, String appicationKey ) : System
marketPlaceUri string
name string
appicationKey String
Résultat System

SendByServiceBus() public méthode

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
Résultat Task>

SignOut() public méthode

public SignOut ( ) : void
Résultat void

Property Details

PassiveAuthenticationInformation public_oe property

public Dictionary PassiveAuthenticationInformation
Résultat string>.Dictionary