Table of Contents

Method CreateSession

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

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

Logging into an instance with the credentials provided.

Task CreateSession(int providerId, string subscriberId, string accountId, string password, AppToken appToken, ZedalCallContext context = default)

Parameters

providerId int

endpoint.

subscriberId string

subscriber.

accountId string

account.

password string

password.

appToken AppToken

mandatory token to identify the app.

context ZedalCallContext

Optionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.

Returns

Task

A Task representing the asynchronous operation.

CreateSession(ClientId, string, AppToken, ZedalCallContext)

Logging into an instance with the clientId.

Task CreateSession(ClientId clientId, string clientSecret, AppToken appToken, ZedalCallContext context = default)

Parameters

clientId ClientId

the issued clientId.

clientSecret string

the issued pw.

appToken AppToken

mandatory token to identify the app.

context ZedalCallContext

Optionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.

Returns

Task

A Task representing the asynchronous operation.

CreateSession(string, AppToken, ZedalCallContext)

Logging into an instance with the userId.

Task CreateSession(string userId, AppToken appToken, ZedalCallContext context = default)

Parameters

userId string

Expected Pattern: subscriber-account@provider:password

appToken AppToken

mandatory token to identify the app

context ZedalCallContext

Optionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.

Returns

Task

A Task representing the asynchronous operation.