Method CreateSession
- Namespace
- Zedal.Sdk
- 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
providerIdintendpoint.
subscriberIdstringsubscriber.
accountIdstringaccount.
passwordstringpassword.
appTokenAppTokenmandatory token to identify the app.
contextZedalCallContextOptionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.
Returns
CreateSession(string, AppToken, ZedalCallContext)
Logging into an instance with the userId.
Task CreateSession(string userId, AppToken appToken, ZedalCallContext context = default)
Parameters
userIdstringExpected Pattern: subscriber-account@provider:password
appTokenAppTokenmandatory token to identify the app
contextZedalCallContextOptionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.
Returns
CreateSession(ClientId, string, AppToken, ZedalCallContext)
Logging into an instance with the clientId.
Task CreateSession(ClientId clientId, string clientSecret, AppToken appToken, ZedalCallContext context = default)
Parameters
clientIdClientIdthe issued clientId.
clientSecretstringthe issued pw.
appTokenAppTokenmandatory token to identify the app.
contextZedalCallContextOptionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.