verify

suspend fun Umami.verify(): User

Verifies the current authentication state of the Umami client.

This function sends a POST request to the authentication verification endpoint using the configured httpClient. If the authentication is valid, it returns the authenticated User object.

Receiver

Umami The Umami client instance used to perform the verification.

Return

User The authenticated user information if verification is successful.

Throws

ClientRequestException

if the verification fails or the server returns an error.