Skip to main content

orbital_shell/
paths.rs

1/// Well-known shell-level path constants for auth and account flows.
2///
3/// Shared route constants used by shell components and auth guards (for example
4/// [`orbital::routes::RequireAuthenticated`]) without hardcoded path strings.
5pub const AUTH_SIGNIN: &str = "/auth/signin";
6pub const AUTH_SIGNUP: &str = "/auth/signup";
7pub const AUTH_LOGOUT: &str = "/auth/logout";
8pub const AUTH_RESET_PASSWORD_REQUEST: &str = "/auth/reset/request";
9pub const AUTH_RESET_PASSWORD_CONFIRM: &str = "/auth/reset/confirm";
10pub const USER_PROFILE: &str = "/user/profile";
11pub const USER_ACCOUNT_SETTINGS: &str = "/user/account-settings";
12pub const NOTIFICATIONS_INBOX: &str = "/notifications";
13pub const PERMISSION_PERMISSIONS: &str = "/permission/permissions";