Table of Contents

Interface IZedalClient

Namespace
Zedal.Sdk
Assembly
Zedal.Sdk.dll
public interface IZedalClient

Properties

BxaApi
ClientName

Client name that is added to headers for logging.

ClientVersion

Client version that is added to headers for logging.

Connection
CoreApi
DefaultTimeout

Default timeout (seconds) for API calls when no explicit timeout is provided.

DiscoveryApi
DiwassApi
DocumentHandler
MyAccount

Convenience accessors scoped to the currently logged-in user (DIWASS operator-ids, BMU-ZKS numbers, future utility methods).

SignerApi
TransformApi

Methods

ContinueSession(RefreshToken)

Logging into an instance with the refreshToken, this continues the session.

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

Logging into an instance with the credentials provided.

CreateSession(string, AppToken)

Logging into an instance with the userId.

CreateSession(ClientId, string, AppToken)

Logging into an instance with the clientId.

EndSession()

Logging out of an instance this ends the current session and invalidates the refresh token. In order to continue using the instance, it must be reauthorized.

SetAccessTokenChanged(Action<(AccessToken accessToken, RefreshToken refreshToken)>)

Sets callback for the event when the accessToken is refreshed by the interceptor.