Method CreateSession
- Namespace
- Zedal.Sdk
- 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
providerIdintendpoint.
subscriberIdstringsubscriber.
accountIdstringaccount.
passwordstringpassword.
appTokenAppTokenmandatory token to identify the app.
Returns
CreateSession(string, AppToken)
Logging into an instance with the userId.
Task CreateSession(string userId, AppToken appToken)
Parameters
userIdstringExpected Pattern: account-subscriber@provider:password
appTokenAppTokenmandatory token to identify the app
Returns
CreateSession(ClientId, string, AppToken)
Logging into an instance with the clientId.
Task CreateSession(ClientId clientId, string clientSecret, AppToken appToken)
Parameters
clientIdClientIdthe issued clientId.
clientSecretstringthe issued pw.
appTokenAppTokenmandatory token to identify the app.