clearSession

@JvmStatic
suspend fun clearSession(): Result<Unit>

Clears the current authentication session.

Call this method to force a new authentication session on the next request.

Return

A Result indicating the outcome of the operation: a successful Result of Unit if the session was cleared, or a failure with an Exception.