Expand description
Isolated Roblox login webview and secret handoff.
Structsยง
- Account
Identity - The Roblox user a session belongs to.
- Login
Runtime ๐ - State shared by one sign-in windowโs callbacks.
- Roblox
Cookie - A session cookie read from the sign-in webview. Its memory is zeroed on drop.
Enumsยง
- Login
Error - Why a sign-in failed. Displays as a user-facing message.
- Login
Notice - The outcome of a sign-in, delivered once.
- Login
Phase - Progress of a sign-in window.
Constantsยง
- LOGIN_
URL - Page the sign-in webview opens.
- LOGIN_
WINDOW_ LABEL - Window label of the Roblox sign-in webview.
- PROFILE_
WINDOW_ LABEL - Window label of the signed-in Roblox profile webview.
- SECURITY_
COOKIE_ ๐NAME - Name of the Roblox session cookie.
Functionsยง
- fail_
login ๐ - Marks the sign-in failed, clears browsing data, closes the window, and reports the error.
- finish_
login ๐ - Validates and stores the session, clearing browsing data before storing it and closing the window afterwards.
- is_
allowed_ roblox_ navigation - Allows navigation only to
roblox.comand its subdomains over HTTPS. - is_
roblox_ security_ cookie - Matches the secure, HTTP-only
.ROBLOSECURITYcookie on a Roblox domain. - open_
roblox_ login - Opens an isolated, incognito Roblox sign-in window.
- open_
roblox_ profile - Opens an isolated, incognito roblox.com window signed in with
session, on the profile ofuser_id, for actions Roblox only allows after a verification check it shows itself. An open profile window is replaced. The session cookie is HTTP-only, so the page canโt read it, and the incognito data is discarded when the window closes. Navigation is limited to HTTPS Roblox hosts, and new windows are blocked. - read_
security_ ๐cookie - Reads the session cookie from the window, if itโs set.
- schedule_
cookie_ ๐check - Checks for the session cookie on a background thread, retrying every second until itโs found, the window closes, or the sign-in fails.
Type Aliasesยง
- Notify ๐
- Receives the sign-in outcome.
- Store
Session ๐ - Stores a validated session.
- Validate
Session ๐ - Checks a session with Roblox and returns its user.