Skip to main content

Module auth

Module auth 

Source
Expand description

Wire DTOs for the tournament account/auth API (the device-link flow).

The physical module is [crate::game_storage]’s online::auth; this re-export mirrors crate::rooms so consumers can share the types.

Structs§

AccountDto
One account as the auth API returns it. nickname is the in-game display name (the game’s own 1-9 letter rule, mutable); avatar_sha256 doubles as the avatar cache key and the v= param of GameStorage::fetch_auth_avatar (None = no avatar uploaded).
AuthInfo
The auth page location from auth_info: the SERVER’s own URL (it knows how it is exposed to browsers), the launcher never assembles it.

Enums§

AuthPoll
The auth_poll tri-state.