Table of Contents

Method ContinueSession

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

ContinueSession(ApiKey, AppToken, AccessToken, ZedalCallContext)

Continues a session with an API key from an access token the client kept, e.g. across process runs. The access token is used as long as it was issued for this key and this app and has not expired; otherwise the key is exchanged as in CreateSession(ApiKey, AppToken, ZedalCallContext). Keeping the access token saves exchanges, which the server limits per key.

Task ContinueSession(ApiKey apiKey, AppToken appToken, AccessToken accessToken, ZedalCallContext context = default)

Parameters

apiKey ApiKey

the API key of the session.

appToken AppToken

mandatory token to identify the app.

accessToken AccessToken

the kept access token, or null.

context ZedalCallContext

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

Returns

Task

A Task representing the asynchronous operation.

ContinueSession(RefreshToken, ZedalCallContext)

Logging into an instance with the refreshToken.

Task ContinueSession(RefreshToken refreshToken, ZedalCallContext context = default)

Parameters

refreshToken RefreshToken

a refresh token.

context ZedalCallContext

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

Returns

Task

A Task representing the asynchronous operation.