Table of Contents

Method CreateSession

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

CreateSession(int, string, string, string, AppToken)

Logging into an instance with the credentials provided.

Task CreateSession(int providerId, string subscriberId, string accountId, string password, AppToken appToken)

Parameters

providerId int

endpoint.

subscriberId string

subscriber.

accountId string

account.

password string

password.

appToken AppToken

mandatory token to identify the app.

Returns

Task

A Task representing the asynchronous operation.

CreateSession(ClientId, string, AppToken)

Logging into an instance with the clientId.

Task CreateSession(ClientId clientId, string clientSecret, AppToken appToken)

Parameters

clientId ClientId

the issued clientId.

clientSecret string

the issued pw.

appToken AppToken

mandatory token to identify the app.

Returns

Task

A Task representing the asynchronous operation.

CreateSession(string, AppToken)

Logging into an instance with the userId.

Task CreateSession(string userId, AppToken appToken)

Parameters

userId string

Expected Pattern: subscriber-account@provider:password

appToken AppToken

mandatory token to identify the app

Returns

Task

A Task representing the asynchronous operation.