Table of Contents

Method EndSession

Namespace
Zedal.Sdk.Adapter
Assembly
Zedal.Sdk.dll

EndSession()

Ends the current session and invalidates the refresh token.

public virtual Task EndSession()

Returns

Task

A Task representing the asynchronous operation.

Remarks

This method calls the EndSession() method of the IAuthApi interface to terminate the session and invalidate the refresh token. It also deletes the stored refresh token using the DeleteTokenAsync() method.