Instance Method

logout()

Logs out the current merchant session and clears all associated credentials.

Declaration

func logout()

Discussion

This method clears the active session token, stored merchant credentials, and location information from secure storage. It should be called when the user signs out or when the app needs to reset authentication state.