SYMBOL INDEX (6550 symbols across 605 files) FILE: crates/axum-utils/src/client_authorization.rs type AuthorizedForm (line 35) | struct AuthorizedForm { type Credentials (line 46) | pub enum Credentials { method client_id (line 70) | pub fn client_id(&self) -> Option<&str> { method bearer_token (line 82) | pub fn bearer_token(&self) -> Option<&str> { method fetch (line 95) | pub async fn fetch( method verify (line 116) | pub async fn verify( function fetch_jwks (line 194) | async fn fetch_jwks( type CredentialsVerificationError (line 215) | pub enum CredentialsVerificationError { method is_internal (line 238) | pub fn is_internal(&self) -> bool { type ClientAuthorization (line 247) | pub struct ClientAuthorization { function client_id (line 255) | pub fn client_id(&self) -> Option<&str> { type ClientAuthorizationError (line 261) | pub enum ClientAuthorizationError { method into_response (line 288) | fn into_response(self) -> axum::response::Response { type Rejection (line 369) | type Rejection = ClientAuthorizationError; function from_request (line 371) | async fn from_request( function none_test (line 543) | async fn none_test() { function client_secret_basic_test (line 567) | async fn client_secret_basic_test() { function client_secret_post_test (line 658) | async fn client_secret_post_test() { function client_assertion_test (line 685) | async fn client_assertion_test() { function bearer_token_test (line 716) | async fn bearer_token_test() { FILE: crates/axum-utils/src/cookies.rs type CookieDecodeError (line 23) | pub enum CookieDecodeError { type CookieManager (line 32) | pub struct CookieManager { method new (line 39) | pub const fn new(base_url: Url, key: Key) -> Self { method derive_from (line 45) | pub fn derive_from(base_url: Url, key: &[u8]) -> Self { method cookie_jar (line 51) | pub fn cookie_jar(&self) -> CookieJar { method cookie_jar_from_headers (line 59) | pub fn cookie_jar_from_headers(&self, headers: &http::HeaderMap) -> Co... type CookieOption (line 81) | struct CookieOption { method new (line 86) | const fn new(base_url: Url) -> Self { method secure (line 90) | fn secure(&self) -> bool { method path (line 94) | fn path(&self) -> &str { method apply (line 98) | fn apply<'a>(&self, mut cookie: Cookie<'a>) -> Cookie<'a> { type CookieJar (line 108) | pub struct CookieJar { type Rejection (line 72) | type Rejection = Infallible; method from_request_parts (line 74) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result(mut self, key: &str, payload: &T, permanent:... method remove (line 141) | pub fn remove(mut self, key: &str) -> Self { method load (line 153) | pub fn load(&self, key: &str) -> Result... type Error (line 164) | type Error = Infallible; method into_response_parts (line 166) | fn into_response_parts(self, res: ResponseParts) -> Result, ttl: Duration) -> Self { method generate (line 58) | fn generate(now: DateTime, mut rng: impl Rng, ttl: Duration) -> S... method refresh (line 64) | fn refresh(self, now: DateTime, ttl: Duration) -> Self { method form_value (line 70) | pub fn form_value(&self) -> String { method verify_form_value (line 79) | pub fn verify_form_value(&self, form_value: &str) -> Result<(), CsrfEr... method verify_expiration (line 88) | fn verify_expiration(self, now: DateTime) -> Result { type CsrfExt (line 106) | pub trait CsrfExt { method csrf_token (line 109) | fn csrf_token(self, clock: &C, rng: R) -> (CsrfToken, Self) method verify_form (line 121) | fn verify_form(&self, clock: &C, form: ProtectedForm) -> Resu... method csrf_token (line 127) | fn csrf_token(self, clock: &C, rng: R) -> (CsrfToken, Self) method verify_form (line 156) | fn verify_form(&self, clock: &C, form: ProtectedForm) -> Resu... FILE: crates/axum-utils/src/error_wrapper.rs type ErrorWrapper (line 14) | pub struct ErrorWrapper(#[from] pub T); method into_response (line 20) | fn into_response(self) -> Response { FILE: crates/axum-utils/src/fancy_error.rs function build_context (line 18) | fn build_context(mut err: &dyn std::error::Error) -> ErrorContext { type GenericError (line 31) | pub struct GenericError { method new (line 53) | pub fn new(code: StatusCode, err: impl std::error::Error + 'static) ->... method into_response (line 37) | fn into_response(self) -> Response { type InternalError (line 61) | pub struct InternalError { method from (line 84) | fn from(err: E) -> Self { method new (line 94) | pub fn new(error: Box) -> Self { method from_anyhow (line 100) | pub fn from_anyhow(err: anyhow::Error) -> Self { method into_response (line 66) | fn into_response(self) -> Response { FILE: crates/axum-utils/src/jwt.rs type JwtResponse (line 13) | pub struct JwtResponse(pub Jwt<'static, T>); method into_response (line 16) | fn into_response(self) -> Response { FILE: crates/axum-utils/src/language_detection.rs type AcceptLanguagePart (line 14) | struct AcceptLanguagePart { method partial_cmp (line 24) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 30) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type AcceptLanguage (line 39) | pub struct AcceptLanguage { method iter (line 44) | pub fn iter(&self) -> impl Iterator { function trim_bytes (line 51) | const fn trim_bytes(mut bytes: &[u8]) -> &[u8] { method name (line 73) | fn name() -> &'static HeaderName { method decode (line 77) | fn decode<'i, I>(values: &mut I) -> Result method encode (line 128) | fn encode>(&self, values: &mut E) { function test_decode (line 164) | fn test_decode() { function test_decode_order (line 206) | fn test_decode_order() { function test_encode (line 246) | fn test_encode() { FILE: crates/axum-utils/src/sentry.rs type SentryEventID (line 14) | pub struct SentryEventID(Uuid); method for_last_event (line 18) | pub fn for_last_event() -> Option { method from (line 24) | fn from(uuid: Uuid) -> Self { type Error (line 30) | type Error = Infallible; method into_response_parts (line 31) | fn into_response_parts(self, mut res: ResponseParts) -> Result Self { method mark_session_ended (line 31) | pub fn mark_session_ended(mut self) -> Self { method load_active_session (line 41) | pub async fn load_active_session( method current_session_id (line 61) | pub fn current_session_id(&self) -> Option { type SessionInfoExt (line 66) | pub trait SessionInfoExt { method session_info (line 68) | fn session_info(self) -> (SessionInfo, Self); method update_session_info (line 71) | fn update_session_info(self, info: &SessionInfo) -> Self; method set_session (line 74) | fn set_session(self, session: &BrowserSession) -> Self method session_info (line 84) | fn session_info(self) -> (SessionInfo, Self) { method update_session_info (line 98) | fn update_session_info(self, info: &SessionInfo) -> Self { FILE: crates/axum-utils/src/user_authorization.rs type AuthorizedForm (line 28) | struct AuthorizedForm { type AccessToken (line 37) | enum AccessToken { method fetch (line 44) | async fn fetch( type UserAuthorization (line 70) | pub struct UserAuthorization { function protected_form (line 84) | pub async fn protected_form( function protected (line 108) | pub async fn protected( type UserAuthorizationError (line 128) | pub enum UserAuthorizationError { type AuthorizationVerificationError (line 136) | pub enum AuthorizationVerificationError { type BearerError (line 150) | enum BearerError { method error (line 160) | fn error(&self) -> HeaderValue { method params (line 168) | fn params(&self) -> HashMap<&'static str, HeaderValue> { type WwwAuthenticate (line 180) | enum WwwAuthenticate { method name (line 191) | fn name() -> &'static HeaderName { method decode (line 195) | fn decode<'i, I>(_values: &mut I) -> Result method encode (line 203) | fn encode>(&self, values: &mut E) { method into_response (line 238) | fn into_response(self) -> Response { method into_response (line 259) | fn into_response(self) -> Response { type Rejection (line 291) | type Rejection = UserAuthorizationError; function from_request (line 293) | async fn from_request( FILE: crates/cli/build.rs function main (line 8) | fn main() -> anyhow::Result<()> { FILE: crates/cli/src/app_state.rs type AppState (line 33) | pub struct AppState { method init_metrics (line 54) | pub fn init_metrics(&mut self) { method init_metadata_cache (line 81) | pub fn init_metadata_cache(&self) { method from_ref (line 122) | fn from_ref(input: &AppState) -> Self { method from_ref (line 128) | fn from_ref(input: &AppState) -> Self { method from_ref (line 134) | fn from_ref(input: &AppState) -> Self { method from_ref (line 140) | fn from_ref(input: &AppState) -> Self { function from_ref (line 146) | fn from_ref(input: &AppState) -> Self { method from_ref (line 152) | fn from_ref(input: &AppState) -> Self { method from_ref (line 158) | fn from_ref(input: &AppState) -> Self { method from_ref (line 164) | fn from_ref(input: &AppState) -> Self { function from_ref (line 170) | fn from_ref(input: &AppState) -> Self { method from_ref (line 176) | fn from_ref(input: &AppState) -> Self { method from_ref (line 182) | fn from_ref(input: &AppState) -> Self { method from_ref (line 188) | fn from_ref(input: &AppState) -> Self { method from_ref (line 194) | fn from_ref(input: &AppState) -> Self { method from_ref (line 200) | fn from_ref(input: &AppState) -> Self { function from_ref (line 206) | fn from_ref(input: &AppState) -> Self { function from_ref (line 212) | fn from_ref(input: &AppState) -> Self { method from_ref (line 218) | fn from_ref(_input: &AppState) -> Self { type Rejection (line 224) | type Rejection = Infallible; method from_request_parts (line 226) | async fn from_request_parts( type Rejection (line 236) | type Rejection = Infallible; method from_request_parts (line 238) | async fn from_request_parts( type Rejection (line 252) | type Rejection = ErrorWrapper; method from_request_parts (line 254) | async fn from_request_parts( type Rejection (line 264) | type Rejection = Infallible; method from_request_parts (line 266) | async fn from_request_parts( function infer_client_ip (line 274) | fn infer_client_ip( type Rejection (line 328) | type Rejection = Infallible; method from_request_parts (line 330) | async fn from_request_parts( type Rejection (line 342) | type Rejection = Infallible; method from_request_parts (line 344) | async fn from_request_parts( type Rejection (line 365) | type Rejection = ErrorWrapper; method from_request_parts (line 367) | async fn from_request_parts( FILE: crates/cli/src/commands/config.rs type Options (line 22) | pub(super) struct Options { method run (line 68) | pub async fn run(self, figment: &Figment) -> anyhow::Result { type Subcommand (line 28) | enum Subcommand { FILE: crates/cli/src/commands/database.rs type Options (line 18) | pub(super) struct Options { method run (line 30) | pub async fn run(self, figment: &Figment) -> anyhow::Result { type Subcommand (line 24) | enum Subcommand { FILE: crates/cli/src/commands/debug.rs type Options (line 23) | pub(super) struct Options { method run (line 40) | pub async fn run(self, figment: &Figment) -> anyhow::Result { type Subcommand (line 29) | enum Subcommand { FILE: crates/cli/src/commands/doctor.rs constant DOCS_BASE (line 24) | const DOCS_BASE: &str = "https://element-hq.github.io/matrix-authenticat... type Options (line 27) | pub(super) struct Options {} method run (line 30) | pub async fn run(self, figment: &Figment) -> anyhow::Result { FILE: crates/cli/src/commands/manage.rs constant USER_ATTRIBUTES_HEADING (line 48) | const USER_ATTRIBUTES_HEADING: &str = "User attributes"; type UpstreamProviderMapping (line 51) | struct UpstreamProviderMapping { function parse_upstream_provider_mapping (line 56) | fn parse_upstream_provider_mapping(s: &str) -> Result anyhow::Result { type Subcommand (line 74) | enum Subcommand { type HumanReadable (line 949) | struct HumanReadable(T); function fmt (line 952) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function check_and_normalize_username (line 964) | async fn check_and_normalize_username<'a>( type UserCreationRequest (line 993) | struct UserCreationRequest<'a> { function possible_actions (line 1004) | fn possible_actions( function prompt_action (line 1031) | async fn prompt_action( function show (line 1049) | fn show(&self, term: &Term, homeserver: &dyn HomeserverConnection) -> st... function do_register (line 1112) | async fn do_register( type Action (line 1170) | enum Action { method fmt (line 1181) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type UserCreationCommand (line 1195) | struct UserCreationCommand<'a>(&'a UserCreationRequest<'a>); function fmt (line 1198) | fn fmt(&self, w: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/cli/src/commands/mod.rs type Subcommand (line 27) | enum Subcommand { type Options (line 61) | pub struct Options { method run (line 71) | pub async fn run(self, figment: &Figment) -> anyhow::Result { method figment (line 90) | pub fn figment(&self) -> Figment { FILE: crates/cli/src/commands/server.rs type Options (line 37) | pub(super) struct Options { method run (line 57) | pub async fn run(self, figment: &Figment) -> anyhow::Result { FILE: crates/cli/src/commands/syn2mas.rs constant EXIT_CODE_CHECK_ERRORS (line 28) | const EXIT_CODE_CHECK_ERRORS: u8 = 10; constant EXIT_CODE_CHECK_WARNINGS (line 32) | const EXIT_CODE_CHECK_WARNINGS: u8 = 11; type Options (line 35) | pub(super) struct Options { method run (line 98) | pub async fn run(self, figment: &Figment) -> anyhow::Result { type Subcommand (line 75) | enum Subcommand { constant NUM_WRITER_CONNECTIONS (line 94) | const NUM_WRITER_CONNECTIONS: usize = 8; function occasional_progress_logger (line 293) | async fn occasional_progress_logger(progress: Progress) { FILE: crates/cli/src/commands/templates.rs type Options (line 25) | pub(super) struct Options { method run (line 48) | pub async fn run(self, figment: &Figment) -> anyhow::Result { type Subcommand (line 31) | enum Subcommand { FILE: crates/cli/src/commands/worker.rs type Options (line 26) | pub(super) struct Options {} method run (line 29) | pub async fn run(self, figment: &Figment) -> anyhow::Result { FILE: crates/cli/src/lifecycle.rs type LifecycleManager (line 31) | pub struct LifecycleManager { method new (line 80) | pub fn new() -> Result { method register_reloadable (line 104) | pub fn register_reloadable(&mut self, reloadable: &(impl Reloadable + ... method task_tracker (line 114) | pub fn task_tracker(&self) -> &TaskTracker { method hard_shutdown_token (line 120) | pub fn hard_shutdown_token(&self) -> CancellationToken { method soft_shutdown_token (line 126) | pub fn soft_shutdown_token(&self) -> CancellationToken { method run (line 131) | pub async fn run(mut self) -> ExitCode { type Reloadable (line 43) | pub trait Reloadable: Clone + Send { method reload (line 44) | fn reload(&self) -> impl Future + Send; method reload (line 48) | async fn reload(&self) { method reload (line 54) | async fn reload(&self) { function notify (line 65) | fn notify(states: &[sd_notify::NotifyState]) { FILE: crates/cli/src/main.rs type SentryTransportFactory (line 34) | struct SentryTransportFactory { method new (line 39) | fn new() -> Self { method create_transport (line 47) | fn create_transport(&self, options: &sentry::ClientOptions) -> Arc anyhow::Result { function async_main (line 71) | async fn async_main() -> anyhow::Result { function try_main (line 82) | async fn try_main() -> anyhow::Result { FILE: crates/cli/src/server.rs constant MAS_LISTENER_NAME (line 45) | const MAS_LISTENER_NAME: Key = Key::from_static_str("mas.listener.name"); function otel_http_method (line 48) | fn otel_http_method(request: &Request) -> &'static str { function otel_net_protocol_version (line 64) | fn otel_net_protocol_version(request: &Request) -> &'static str { function otel_http_route (line 75) | fn otel_http_route(request: &Request) -> Option<&str> { function otel_url_scheme (line 82) | fn otel_url_scheme(request: &Request) -> &'static str { function make_http_span (line 97) | fn make_http_span(req: &Request) -> Span { function on_http_request_labels (line 161) | fn on_http_request_labels(request: &Request) -> Vec { function on_http_response_labels (line 174) | fn on_http_response_labels(res: &Response) -> Vec { function log_response_middleware (line 181) | async fn log_response_middleware( function build_router (line 218) | pub fn build_router( function build_tls_server_config (line 350) | pub fn build_tls_server_config(config: &HttpTlsConfig) -> Result anyhow::Result<()> { function shutdown (line 69) | pub fn shutdown() -> opentelemetry_sdk::error::OTelSdkResult { function match_propagator (line 81) | fn match_propagator(propagator: Propagator) -> Box TextMapCompositePropagator { type InvalidIdGenerator (line 101) | struct InvalidIdGenerator; method new_trace_id (line 103) | fn new_trace_id(&self) -> opentelemetry::TraceId { method new_span_id (line 106) | fn new_span_id(&self) -> opentelemetry::SpanId { function init_tracer (line 111) | fn init_tracer(config: &TracingConfig) -> anyhow::Result<()> { function otlp_metric_reader (line 169) | fn otlp_metric_reader( function stdout_metric_reader (line 186) | fn stdout_metric_reader() -> PeriodicReader(_req: T) -> PromServiceFuture { function prometheus_service (line 233) | pub fn prometheus_service() -> tower::util::ServiceFn PromSe... function prometheus_metric_reader (line 243) | fn prometheus_metric_reader() -> anyhow::Result { function init_meter (line 253) | fn init_meter(config: &MetricsConfig) -> anyhow::Result<()> { function resource (line 276) | fn resource() -> Resource { FILE: crates/cli/src/util.rs function password_manager_from_config (line 32) | pub async fn password_manager_from_config( function mailer_from_config (line 61) | pub fn mailer_from_config( function test_mailer_in_background (line 112) | pub fn test_mailer_in_background(mailer: &Mailer, timeout: Duration) { function policy_factory_from_config (line 135) | pub async fn policy_factory_from_config( function captcha_config_from_config (line 174) | pub fn captcha_config_from_config( function site_config_from_config (line 202) | pub fn site_config_from_config( function templates_from_config (line 258) | pub async fn templates_from_config( function database_connect_options_from_config (line 278) | fn database_connect_options_from_config( function database_pool_from_config (line 376) | pub async fn database_pool_from_config(config: &DatabaseConfig) -> Resul... type DatabaseConnectOptions (line 398) | pub struct DatabaseConnectOptions { method default (line 403) | fn default() -> Self { function database_connection_from_config (line 412) | pub async fn database_connection_from_config( function database_connection_from_config_with_options (line 424) | pub async fn database_connection_from_config_with_options( function load_policy_factory_dynamic_data_continuously (line 437) | pub async fn load_policy_factory_dynamic_data_continuously( function load_policy_factory_dynamic_data (line 476) | pub async fn load_policy_factory_dynamic_data( function homeserver_connection_from_config (line 498) | pub async fn homeserver_connection_from_config( function test_password_manager_from_config (line 538) | async fn test_password_manager_from_config() { FILE: crates/config/src/bin/schema.rs function main (line 9) | fn main() { FILE: crates/config/src/schema.rs type Hostname (line 14) | pub struct Hostname; method schema_name (line 17) | fn schema_name() -> Cow<'static, str> { method json_schema (line 21) | fn json_schema(_generator: &mut SchemaGenerator) -> Schema { FILE: crates/config/src/sections/account.rs function default_true (line 12) | const fn default_true() -> bool { function is_default_true (line 17) | const fn is_default_true(value: &bool) -> bool { function default_false (line 21) | const fn default_false() -> bool { function is_default_false (line 26) | const fn is_default_false(value: &bool) -> bool { type AccountConfig (line 33) | pub struct AccountConfig { method is_default (line 111) | pub(crate) fn is_default(&self) -> bool { method default (line 94) | fn default() -> Self { constant PATH (line 124) | const PATH: Option<&'static str> = Some("account"); FILE: crates/config/src/sections/branding.rs type BrandingConfig (line 15) | pub struct BrandingConfig { method is_default (line 44) | pub(crate) fn is_default(&self) -> bool { constant PATH (line 54) | const PATH: Option<&'static str> = Some("branding"); FILE: crates/config/src/sections/captcha.rs type CaptchaServiceKind (line 14) | pub enum CaptchaServiceKind { type CaptchaConfig (line 30) | pub struct CaptchaConfig { method is_default (line 46) | pub(crate) fn is_default(&self) -> bool { constant PATH (line 52) | const PATH: Option<&'static str> = Some("captcha"); method validate (line 54) | fn validate( FILE: crates/config/src/sections/clients.rs type ClientAuthMethodConfig (line 22) | pub enum ClientAuthMethodConfig { method fmt (line 44) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ClientConfig (line 58) | pub struct ClientConfig { method validate (line 97) | fn validate(&self) -> Result<(), Box> { method client_auth_method (line 176) | pub fn client_auth_method(&self) -> OAuthClientAuthenticationMethod { method client_secret (line 199) | pub async fn client_secret(&self) -> anyhow::Result> { type ClientsConfig (line 210) | pub struct ClientsConfig(#[schemars(with = "Vec::")] Vec bool { type Target (line 220) | type Target = Vec; method deref (line 222) | fn deref(&self) -> &Self::Target { type Item (line 228) | type Item = ClientConfig; type IntoIter (line 229) | type IntoIter = std::vec::IntoIter; method into_iter (line 231) | fn into_iter(self) -> Self::IntoIter { constant PATH (line 237) | const PATH: Option<&'static str> = Some("clients"); method validate (line 239) | fn validate( function load_config (line 271) | async fn load_config() { FILE: crates/config/src/sections/database.rs function default_connection_string (line 18) | fn default_connection_string() -> Option { function default_max_connections (line 22) | fn default_max_connections() -> NonZeroU32 { function default_connect_timeout (line 26) | fn default_connect_timeout() -> Duration { function default_idle_timeout (line 31) | fn default_idle_timeout() -> Option { function default_max_lifetime (line 36) | fn default_max_lifetime() -> Option { method default (line 41) | fn default() -> Self { type PgSslMode (line 70) | pub enum PgSslMode { type DatabaseConfig (line 97) | pub struct DatabaseConfig { constant PATH (line 223) | const PATH: Option<&'static str> = Some("database"); method validate (line 225) | fn validate( function load_config (line 297) | fn load_config() { FILE: crates/config/src/sections/email.rs type EmailSmtpMode (line 20) | pub enum EmailSmtpMode { type EmailTransportKind (line 34) | pub enum EmailTransportKind { function default_email (line 46) | fn default_email() -> String { function default_sendmail_command (line 51) | fn default_sendmail_command() -> Option { type EmailConfig (line 57) | pub struct EmailConfig { method transport (line 109) | pub fn transport(&self) -> EmailTransportKind { method mode (line 115) | pub fn mode(&self) -> Option { method hostname (line 121) | pub fn hostname(&self) -> Option<&str> { method port (line 127) | pub fn port(&self) -> Option { method username (line 133) | pub fn username(&self) -> Option<&str> { method password (line 139) | pub fn password(&self) -> Option<&str> { method command (line 145) | pub fn command(&self) -> Option<&str> { method default (line 151) | fn default() -> Self { constant PATH (line 167) | const PATH: Option<&'static str> = Some("email"); method validate (line 169) | fn validate( FILE: crates/config/src/sections/experimental.rs function default_true (line 16) | fn default_true() -> bool { function default_false (line 20) | fn default_false() -> bool { function default_token_ttl (line 24) | fn default_token_ttl() -> Duration { function is_default_token_ttl (line 28) | fn is_default_token_ttl(value: &Duration) -> bool { type InactiveSessionExpirationConfig (line 35) | pub struct InactiveSessionExpirationConfig { type ExperimentalConfig (line 59) | pub struct ExperimentalConfig { method is_default (line 112) | pub(crate) fn is_default(&self) -> bool { method default (line 100) | fn default() -> Self { constant PATH (line 122) | const PATH: Option<&'static str> = Some("experimental"); method validate (line 124) | fn validate( type SessionLimitConfig (line 144) | pub struct SessionLimitConfig { method validate (line 215) | fn validate(&self) -> Result<(), Box> { FILE: crates/config/src/sections/http.rs function default_public_base (line 22) | fn default_public_base() -> Url { function http_listener_assets_path_default (line 27) | fn http_listener_assets_path_default() -> Utf8PathBuf { function http_listener_assets_path_default (line 32) | fn http_listener_assets_path_default() -> Utf8PathBuf { function http_listener_assets_path_default (line 37) | fn http_listener_assets_path_default() -> Utf8PathBuf { function is_default_http_listener_assets_path (line 41) | fn is_default_http_listener_assets_path(value: &Utf8PathBuf) -> bool { function default_trusted_proxies (line 45) | fn default_trusted_proxies() -> Vec { type UnixOrTcp (line 59) | pub enum UnixOrTcp { method unix (line 70) | pub const fn unix() -> Self { method tcp (line 76) | pub const fn tcp() -> Self { type BindConfig (line 84) | pub enum BindConfig { type TlsConfig (line 137) | pub struct TlsConfig { method load (line 192) | pub fn load( type Resource (line 255) | pub enum Resource { type ListenerConfig (line 307) | pub struct ListenerConfig { type HttpConfig (line 334) | pub struct HttpConfig { method default (line 354) | fn default() -> Self { constant PATH (line 399) | const PATH: Option<&'static str> = Some("http"); method validate (line 401) | fn validate( FILE: crates/config/src/sections/matrix.rs function default_homeserver (line 20) | fn default_homeserver() -> String { function default_endpoint (line 24) | fn default_endpoint() -> Url { type HomeserverKind (line 31) | pub enum HomeserverKind { type Secret (line 54) | pub enum Secret { type Error (line 70) | type Error = anyhow::Error; method try_from (line 72) | fn try_from(value: SecretRaw) -> Result { type SecretRaw (line 61) | struct SecretRaw { method from (line 83) | fn from(value: Secret) -> Self { type MatrixConfig (line 100) | pub struct MatrixConfig { method secret (line 132) | pub async fn secret(&self) -> anyhow::Result { method generate (line 143) | pub(crate) fn generate(mut rng: R) -> Self method test (line 155) | pub(crate) fn test() -> Self { constant PATH (line 121) | const PATH: Option<&'static str> = Some("matrix"); function load_config (line 176) | async fn load_config() { function load_config_inline_secrets (line 207) | async fn load_config_inline_secrets() { FILE: crates/config/src/sections/mod.rs type RootConfig (line 70) | pub struct RootConfig { method generate (line 173) | pub async fn generate(mut rng: R) -> anyhow::Result method test (line 200) | pub fn test() -> Self { method validate (line 141) | fn validate( type AppConfig (line 226) | pub struct AppConfig { method validate (line 269) | fn validate( type SyncConfig (line 295) | pub struct SyncConfig { method validate (line 309) | fn validate( type ClientSecret (line 327) | pub enum ClientSecret { method value (line 359) | pub async fn value(&self) -> anyhow::Result { type ClientSecretRaw (line 337) | pub struct ClientSecretRaw { method from (line 383) | fn from(value: Option) -> Self { type Error (line 368) | type Error = anyhow::Error; function try_from (line 370) | fn try_from(value: ClientSecretRaw) -> Result { FILE: crates/config/src/sections/oauth.rs function default_true (line 11) | const fn default_true() -> bool { function is_default_true (line 16) | const fn is_default_true(value: &bool) -> bool { type OAuthConfig (line 22) | pub struct OAuthConfig { method is_default (line 45) | pub(crate) fn is_default(&self) -> bool { method default (line 36) | fn default() -> Self { constant PATH (line 51) | const PATH: Option<&'static str> = Some("oauth"); FILE: crates/config/src/sections/passwords.rs function default_schemes (line 16) | fn default_schemes() -> Vec { function default_enabled (line 27) | fn default_enabled() -> bool { function default_minimum_complexity (line 31) | fn default_minimum_complexity() -> u8 { type PasswordsConfig (line 37) | pub struct PasswordsConfig { method enabled (line 114) | pub fn enabled(&self) -> bool { method minimum_complexity (line 121) | pub fn minimum_complexity(&self) -> u8 { method load (line 131) | pub async fn load( method default (line 63) | fn default() -> Self { constant PATH (line 73) | const PATH: Option<&'static str> = Some("passwords"); method validate (line 75) | fn validate( function is_default_false (line 174) | const fn is_default_false(value: &bool) -> bool { type HashingScheme (line 180) | pub struct HashingScheme { function default_bcrypt_cost (line 213) | fn default_bcrypt_cost() -> Option { type Algorithm (line 220) | pub enum Algorithm { FILE: crates/config/src/sections/policy.rs function default_policy_path (line 15) | fn default_policy_path() -> Utf8PathBuf { function default_policy_path (line 20) | fn default_policy_path() -> Utf8PathBuf { function default_policy_path (line 25) | fn default_policy_path() -> Utf8PathBuf { function is_default_policy_path (line 29) | fn is_default_policy_path(value: &Utf8PathBuf) -> bool { function default_client_registration_entrypoint (line 33) | fn default_client_registration_entrypoint() -> String { function is_default_client_registration_entrypoint (line 37) | fn is_default_client_registration_entrypoint(value: &String) -> bool { function default_register_entrypoint (line 41) | fn default_register_entrypoint() -> String { function is_default_register_entrypoint (line 45) | fn is_default_register_entrypoint(value: &String) -> bool { function default_authorization_grant_entrypoint (line 49) | fn default_authorization_grant_entrypoint() -> String { function is_default_authorization_grant_entrypoint (line 53) | fn is_default_authorization_grant_entrypoint(value: &String) -> bool { function default_password_entrypoint (line 57) | fn default_password_entrypoint() -> String { function is_default_password_entrypoint (line 61) | fn is_default_password_entrypoint(value: &String) -> bool { function default_compat_login_entrypoint (line 65) | fn default_compat_login_entrypoint() -> String { function is_default_compat_login_entrypoint (line 69) | fn is_default_compat_login_entrypoint(value: &String) -> bool { function default_email_entrypoint (line 73) | fn default_email_entrypoint() -> String { function is_default_email_entrypoint (line 77) | fn is_default_email_entrypoint(value: &String) -> bool { function default_data (line 81) | fn default_data() -> serde_json::Value { function is_default_data (line 85) | fn is_default_data(value: &serde_json::Value) -> bool { type PolicyConfig (line 92) | pub struct PolicyConfig { method is_default (line 165) | pub(crate) fn is_default(&self) -> bool { method default (line 149) | fn default() -> Self { constant PATH (line 177) | const PATH: Option<&'static str> = Some("policy"); FILE: crates/config/src/sections/rate_limiting.rs type RateLimitingConfig (line 17) | pub struct RateLimitingConfig { method is_default (line 182) | pub(crate) fn is_default(config: &RateLimitingConfig) -> bool { type LoginRateLimitingConfig (line 37) | pub struct LoginRateLimitingConfig { type AccountRecoveryRateLimitingConfig (line 60) | pub struct AccountRecoveryRateLimitingConfig { type EmailauthenticationRateLimitingConfig (line 79) | pub struct EmailauthenticationRateLimitingConfig { type RateLimiterConfiguration (line 108) | pub struct RateLimiterConfiguration { method to_quota (line 188) | pub fn to_quota(self) -> Option { constant PATH (line 118) | const PATH: Option<&'static str> = Some("rate_limiting"); method validate (line 120) | fn validate( function default_login_per_ip (line 197) | fn default_login_per_ip() -> RateLimiterConfiguration { function default_login_per_account (line 204) | fn default_login_per_account() -> RateLimiterConfiguration { function default_registration (line 211) | fn default_registration() -> RateLimiterConfiguration { function default_account_recovery_per_ip (line 218) | fn default_account_recovery_per_ip() -> RateLimiterConfiguration { function default_account_recovery_per_address (line 225) | fn default_account_recovery_per_address() -> RateLimiterConfiguration { function default_email_authentication_per_ip (line 232) | fn default_email_authentication_per_ip() -> RateLimiterConfiguration { function default_email_authentication_per_address (line 239) | fn default_email_authentication_per_address() -> RateLimiterConfiguration { function default_email_authentication_emails_per_session (line 246) | fn default_email_authentication_emails_per_session() -> RateLimiterConfi... function default_email_authentication_attempt_per_session (line 253) | fn default_email_authentication_attempt_per_session() -> RateLimiterConf... method default (line 261) | fn default() -> Self { method default (line 272) | fn default() -> Self { method default (line 281) | fn default() -> Self { method default (line 290) | fn default() -> Self { FILE: crates/config/src/sections/secrets.rs type Password (line 28) | pub enum Password { type PasswordRaw (line 35) | struct PasswordRaw { method from (line 57) | fn from(value: Option) -> Self { type Error (line 44) | type Error = anyhow::Error; function try_from (line 46) | fn try_from(value: PasswordRaw) -> Result { type Key (line 80) | pub enum Key { type Error (line 96) | type Error = anyhow::Error; method try_from (line 98) | fn try_from(value: KeyRaw) -> Result { type KeyRaw (line 87) | struct KeyRaw { method from (line 109) | fn from(value: Key) -> Self { type KeyConfig (line 126) | pub struct KeyConfig { method password (line 148) | async fn password(&self) -> anyhow::Result>> { method key (line 159) | async fn key(&self) -> anyhow::Result> { method json_web_key (line 169) | async fn json_web_key(&self) -> anyhow::Result Result { type EncryptionRaw (line 198) | struct EncryptionRaw { method from (line 229) | fn from(value: Encryption) -> Self { function key_configs_from_path (line 244) | async fn key_configs_from_path(path: &Utf8PathBuf) -> anyhow::Result anyhow::Result { method encrypter (line 299) | pub async fn encrypter(&self) -> anyhow::Result { method encryption (line 308) | pub async fn encryption(&self) -> anyhow::Result<[u8; 32]> { method key_configs (line 327) | async fn key_configs(&self) -> anyhow::Result> { method generate (line 347) | pub(crate) async fn generate(mut rng: R) -> anyhow::Result method test (line 424) | pub(crate) fn test() -> Self { constant PATH (line 341) | const PATH: Option<&'static str> = Some("secrets"); function load_config (line 479) | async fn load_config() { function load_config_inline_secrets (line 605) | async fn load_config_inline_secrets() { function load_config_mixed_key_sources (line 658) | async fn load_config_mixed_key_sources() { FILE: crates/config/src/sections/telemetry.rs type Propagator (line 17) | pub enum Propagator { function otlp_endpoint_default (line 29) | fn otlp_endpoint_default() -> Option { type TracingExporterKind (line 37) | pub enum TracingExporterKind { type TracingConfig (line 51) | pub struct TracingConfig { method is_default (line 75) | fn is_default(&self) -> bool { type MetricsExporterKind (line 86) | pub enum MetricsExporterKind { type MetricsConfig (line 104) | pub struct MetricsConfig { method is_default (line 117) | fn is_default(&self) -> bool { type SentryConfig (line 124) | pub struct SentryConfig { method is_default (line 154) | fn is_default(&self) -> bool { type TelemetryConfig (line 161) | pub struct TelemetryConfig { method is_default (line 177) | pub(crate) fn is_default(&self) -> bool { constant PATH (line 183) | const PATH: Option<&'static str> = Some("telemetry"); method validate (line 185) | fn validate( FILE: crates/config/src/sections/templates.rs function default_path (line 14) | fn default_path() -> Utf8PathBuf { function default_path (line 19) | fn default_path() -> Utf8PathBuf { function default_path (line 24) | fn default_path() -> Utf8PathBuf { function is_default_path (line 28) | fn is_default_path(value: &Utf8PathBuf) -> bool { function default_assets_path (line 33) | fn default_assets_path() -> Utf8PathBuf { function default_assets_path (line 38) | fn default_assets_path() -> Utf8PathBuf { function default_assets_path (line 43) | fn default_assets_path() -> Utf8PathBuf { function is_default_assets_path (line 47) | fn is_default_assets_path(value: &Utf8PathBuf) -> bool { function default_translations_path (line 52) | fn default_translations_path() -> Utf8PathBuf { function default_translations_path (line 57) | fn default_translations_path() -> Utf8PathBuf { function default_translations_path (line 62) | fn default_translations_path() -> Utf8PathBuf { function is_default_translations_path (line 66) | fn is_default_translations_path(value: &Utf8PathBuf) -> bool { type TemplatesConfig (line 72) | pub struct TemplatesConfig { method is_default (line 107) | pub(crate) fn is_default(&self) -> bool { method default (line 96) | fn default() -> Self { constant PATH (line 115) | const PATH: Option<&'static str> = Some("templates"); FILE: crates/config/src/sections/upstream_oauth2.rs type UpstreamOAuth2Config (line 21) | pub struct UpstreamOAuth2Config { method is_default (line 28) | pub(crate) fn is_default(&self) -> bool { constant PATH (line 34) | const PATH: Option<&'static str> = Some("upstream_oauth2"); method validate (line 36) | fn validate( type ResponseMode (line 161) | pub enum ResponseMode { type TokenAuthMethod (line 176) | pub enum TokenAuthMethod { type ImportAction (line 203) | pub enum ImportAction { method is_default (line 220) | const fn is_default(&self) -> bool { type OnConflict (line 228) | pub enum OnConflict { method is_default (line 247) | const fn is_default(&self) -> bool { type SubjectImportPreference (line 254) | pub struct SubjectImportPreference { method is_default (line 263) | const fn is_default(&self) -> bool { type LocalpartImportPreference (line 270) | pub struct LocalpartImportPreference { method is_default (line 287) | const fn is_default(&self) -> bool { type DisplaynameImportPreference (line 294) | pub struct DisplaynameImportPreference { method is_default (line 307) | const fn is_default(&self) -> bool { type EmailImportPreference (line 314) | pub struct EmailImportPreference { method is_default (line 327) | const fn is_default(&self) -> bool { type AccountNameImportPreference (line 334) | pub struct AccountNameImportPreference { method is_default (line 344) | const fn is_default(&self) -> bool { type ClaimsImports (line 351) | pub struct ClaimsImports { method is_default (line 387) | const fn is_default(&self) -> bool { type DiscoveryMode (line 400) | pub enum DiscoveryMode { method is_default (line 414) | const fn is_default(&self) -> bool { type PkceMethod (line 423) | pub enum PkceMethod { method is_default (line 439) | const fn is_default(&self) -> bool { function default_true (line 444) | fn default_true() -> bool { function is_default_true (line 449) | fn is_default_true(value: &bool) -> bool { function is_signed_response_alg_default (line 454) | fn is_signed_response_alg_default(signed_response_alg: &JsonWebSignature... function signed_response_alg_default (line 459) | fn signed_response_alg_default() -> JsonWebSignatureAlg { type SignInWithApple (line 464) | pub struct SignInWithApple { function default_scope (line 481) | fn default_scope() -> String { function is_default_scope (line 485) | fn is_default_scope(scope: &str) -> bool { type OnBackchannelLogout (line 492) | pub enum OnBackchannelLogout { method is_default (line 507) | const fn is_default(&self) -> bool { type Provider (line 516) | pub struct Provider { method client_secret (line 706) | pub async fn client_secret(&self) -> anyhow::Result> { function load_config (line 727) | async fn load_config() { FILE: crates/config/src/util.rs type ConfigurationSection (line 12) | pub trait ConfigurationSection: Sized + DeserializeOwned { constant PATH (line 14) | const PATH: Option<&'static str> = None; method validate (line 21) | fn validate( method extract (line 33) | fn extract( type ConfigurationSectionExt (line 50) | pub trait ConfigurationSectionExt: ConfigurationSection + Default { method extract_or_default (line 57) | fn extract_or_default( FILE: crates/context/src/fmt.rs type EventFormatter (line 25) | pub struct EventFormatter; method format_event (line 92) | fn format_event( type FmtLevel (line 27) | struct FmtLevel<'a> { function new (line 33) | pub(crate) fn new(level: &'a Level, ansi: bool) -> Self { constant TRACE_STR (line 38) | const TRACE_STR: &str = "TRACE"; constant DEBUG_STR (line 39) | const DEBUG_STR: &str = "DEBUG"; constant INFO_STR (line 40) | const INFO_STR: &str = " INFO"; constant WARN_STR (line 41) | const WARN_STR: &str = " WARN"; constant ERROR_STR (line 42) | const ERROR_STR: &str = "ERROR"; constant TRACE_STYLE (line 44) | const TRACE_STYLE: Style = Style::new().fg(Color::Magenta); constant DEBUG_STYLE (line 45) | const DEBUG_STYLE: Style = Style::new().fg(Color::Blue); constant INFO_STYLE (line 46) | const INFO_STYLE: Style = Style::new().fg(Color::Green); constant WARN_STYLE (line 47) | const WARN_STYLE: Style = Style::new().fg(Color::Yellow); constant ERROR_STYLE (line 48) | const ERROR_STYLE: Style = Style::new().fg(Color::Red); function fmt (line 51) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TargetFmt (line 63) | struct TargetFmt<'a> { function new (line 69) | pub(crate) fn new(metadata: &tracing::Metadata<'a>) -> Self { function fmt (line 78) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/context/src/future.rs type LogContextFuture (line 17) | pub type LogContextFuture = TaskLocalFuture(&self, future: F) -> LogContextFutu... function new (line 37) | pub(crate) fn new(inner: F) -> Self { type Output (line 43) | type Output = F::Output; method poll (line 45) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { FILE: crates/context/src/layer.rs type LogContextLayer (line 14) | pub struct LogContextLayer { method clone (line 19) | fn clone(&self) -> Self { function new (line 27) | pub fn new(tagger: fn(&R) -> Cow<'static, str>) -> Self { type Service (line 36) | type Service = LogContextService; function layer (line 38) | fn layer(&self, inner: S) -> Self::Service { FILE: crates/context/src/lib.rs type LogContext (line 40) | pub struct LogContext { method new (line 64) | pub fn new(tag: impl Into>) -> Self { method maybe_with (line 80) | pub fn maybe_with(f: F) -> Option method run (line 89) | pub fn run Fut, Fut: Future>(&self, f: F) -> LogContext... method run_sync (line 96) | pub fn run_sync R, R>(&self, f: F) -> R { method stats (line 106) | pub fn stats(&self) -> LogContextStats { method fmt (line 120) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type LogContextInner (line 44) | struct LogContextInner { type LogContextStats (line 129) | pub struct LogContextStats { method fmt (line 141) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/context/src/service.rs type LogContextService (line 17) | pub struct LogContextService { method clone (line 23) | fn clone(&self) -> Self { function new (line 32) | pub fn new(inner: S, tagger: fn(&R) -> Cow<'static, str>) -> Self { type Response (line 41) | type Response = S::Response; type Error (line 42) | type Error = S::Error; type Future (line 43) | type Future = LogContextFuture; function poll_ready (line 45) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { FILE: crates/data-model/examples/ua-parser.rs function main (line 12) | fn main() { FILE: crates/data-model/src/clock.rs type Clock (line 18) | pub trait Clock: Send + Sync { method now (line 20) | fn now(&self) -> DateTime; method now (line 24) | fn now(&self) -> DateTime { method now (line 30) | fn now(&self) -> DateTime { method now (line 42) | fn now(&self) -> DateTime { method now (line 78) | fn now(&self) -> DateTime { type SystemClock (line 37) | pub struct SystemClock { type MockClock (line 51) | pub struct MockClock { method new (line 65) | pub fn new(datetime: DateTime) -> Self { method advance (line 71) | pub fn advance(&self, duration: chrono::Duration) { method default (line 56) | fn default() -> Self { function test_mocked_clock (line 91) | fn test_mocked_clock() { function test_real_clock (line 108) | fn test_real_clock() { FILE: crates/data-model/src/compat/device.rs type Device (line 21) | pub struct Device { method to_scope_token (line 38) | pub fn to_scope_token(&self) -> Result<[ScopeToken; 2], ToScopeTokenEr... method from_scope_token (line 53) | pub fn from_scope_token(token: &ScopeToken) -> Option { method generate (line 61) | pub fn generate(rng: &mut R) -> Self { method as_str (line 68) | pub fn as_str(&self) -> &str { method from (line 74) | fn from(id: String) -> Self { method fmt (line 86) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ToScopeTokenError (line 26) | pub enum ToScopeTokenError { method from (line 80) | fn from(device: Device) -> Self { function test_device_id_to_from_scope_token (line 98) | fn test_device_id_to_from_scope_token() { FILE: crates/data-model/src/compat/mod.rs type CompatAccessToken (line 22) | pub struct CompatAccessToken { method is_valid (line 32) | pub fn is_valid(&self, now: DateTime) -> bool { type CompatRefreshTokenState (line 42) | pub enum CompatRefreshTokenState { method is_valid (line 55) | pub fn is_valid(&self) -> bool { method is_consumed (line 63) | pub fn is_consumed(&self) -> bool { method consume (line 72) | pub fn consume(self, consumed_at: DateTime) -> Result &Self::Target { method consume (line 104) | pub fn consume(mut self, consumed_at: DateTime) -> Result bool { method is_finished (line 38) | pub fn is_finished(&self) -> bool { method finish (line 53) | pub fn finish(self, finished_at: DateTime) -> Result Option> { type CompatSession (line 70) | pub struct CompatSession { type Target (line 85) | type Target = CompatSessionState; method deref (line 87) | fn deref(&self) -> &Self::Target { method finish (line 102) | pub fn finish(mut self, finished_at: DateTime) -> Result bool { method is_fulfilled (line 43) | pub fn is_fulfilled(&self) -> bool { method is_exchanged (line 51) | pub fn is_exchanged(&self) -> bool { method fulfilled_at (line 61) | pub fn fulfilled_at(&self) -> Option> { method exchanged_at (line 76) | pub fn exchanged_at(&self) -> Option> { method session_id (line 91) | pub fn session_id(&self) -> Option { method fulfill (line 109) | pub fn fulfill( method exchange (line 132) | pub fn exchange( type CompatSsoLogin (line 152) | pub struct CompatSsoLogin { type Target (line 161) | type Target = CompatSsoLoginState; method deref (line 163) | fn deref(&self) -> &Self::Target { method fulfill (line 178) | pub fn fulfill( method exchange (line 196) | pub fn exchange( FILE: crates/data-model/src/lib.rs type InvalidTransitionError (line 27) | pub struct InvalidTransitionError; FILE: crates/data-model/src/oauth2/authorization_grant.rs type Pkce (line 26) | pub struct Pkce { method new (line 34) | pub fn new(challenge_method: PkceCodeChallengeMethod, challenge: Strin... method verify (line 46) | pub fn verify(&self, verifier: &str) -> Result<(), CodeChallengeError> { type AuthorizationCode (line 52) | pub struct AuthorizationCode { type AuthorizationGrantStage (line 59) | pub enum AuthorizationGrantStage { method new (line 78) | pub fn new() -> Self { method fulfill (line 82) | fn fulfill( method exchange (line 96) | fn exchange(self, exchanged_at: DateTime) -> Result) -> Result bool { method is_fulfilled (line 129) | pub fn is_fulfilled(&self) -> bool { method is_exchanged (line 137) | pub fn is_exchanged(&self) -> bool { type AuthorizationGrant (line 143) | pub struct AuthorizationGrant { type Target (line 161) | type Target = AuthorizationGrantStage; method deref (line 163) | fn deref(&self) -> &Self::Target { method exchange (line 176) | pub fn exchange(mut self, exchanged_at: DateTime) -> Result) -> Result, rng: &mut impl RngCore) -> Self { FILE: crates/data-model/src/oauth2/client.rs type JwksOrJwksUri (line 23) | pub enum JwksOrJwksUri { type Client (line 32) | pub struct Client { method resolve_redirect_uri (line 113) | pub fn resolve_redirect_uri<'a>( method into_metadata (line 128) | pub fn into_metadata(self) -> ClientMetadata { method samples (line 177) | pub fn samples(now: DateTime, rng: &mut impl RngCore) -> Vec bool { function test_uri_matches_one_of (line 256) | fn test_uri_matches_one_of() { FILE: crates/data-model/src/oauth2/device_code_grant.rs type DeviceCodeGrantState (line 18) | pub enum DeviceCodeGrantState { method fulfill (line 68) | pub fn fulfill( method reject (line 90) | pub fn reject( method exchange (line 112) | pub fn exchange( method is_pending (line 136) | pub fn is_pending(&self) -> bool { method is_fulfilled (line 144) | pub fn is_fulfilled(&self) -> bool { method is_rejected (line 152) | pub fn is_rejected(&self) -> bool { method is_exchanged (line 160) | pub fn is_exchanged(&self) -> bool { type DeviceCodeGrant (line 166) | pub struct DeviceCodeGrant { type Target (line 199) | type Target = DeviceCodeGrantState; method deref (line 201) | fn deref(&self) -> &Self::Target { method fulfill (line 215) | pub fn fulfill( method reject (line 233) | pub fn reject( method exchange (line 252) | pub fn exchange( FILE: crates/data-model/src/oauth2/session.rs type SessionState (line 17) | pub enum SessionState { method is_valid (line 30) | pub fn is_valid(&self) -> bool { method is_finished (line 38) | pub fn is_finished(&self) -> bool { method finish (line 53) | pub fn finish(self, finished_at: DateTime) -> Result Option> { type Session (line 75) | pub struct Session { type Target (line 90) | type Target = SessionState; method deref (line 92) | fn deref(&self) -> &Self::Target { method finish (line 107) | pub fn finish(mut self, finished_at: DateTime) -> Result) -> bool { FILE: crates/data-model/src/personal/session.rs type SessionState (line 16) | pub enum SessionState { method is_valid (line 29) | pub fn is_valid(&self) -> bool { method is_revoked (line 37) | pub fn is_revoked(&self) -> bool { method revoke (line 52) | pub fn revoke(self, revoked_at: DateTime) -> Result Option> { type PersonalSession (line 74) | pub struct PersonalSession { type Target (line 111) | type Target = SessionState; method deref (line 113) | fn deref(&self) -> &Self::Target { method finish (line 128) | pub fn finish(mut self, revoked_at: DateTime) -> Result bool { type PersonalSessionOwner (line 90) | pub enum PersonalSessionOwner { method from (line 99) | fn from(value: &'a User) -> Self { method from (line 105) | fn from(value: &'a Client) -> Self { FILE: crates/data-model/src/policy_data.rs type PolicyData (line 11) | pub struct PolicyData { FILE: crates/data-model/src/site_config.rs type CaptchaService (line 15) | pub enum CaptchaService { type CaptchaConfig (line 23) | pub struct CaptchaConfig { type SessionExpirationConfig (line 36) | pub struct SessionExpirationConfig { type SessionLimitConfig (line 44) | pub struct SessionLimitConfig { type SiteConfig (line 54) | pub struct SiteConfig { FILE: crates/data-model/src/tokens.rs type AccessTokenState (line 18) | pub enum AccessTokenState { method revoke (line 27) | fn revoke(self, revoked_at: DateTime) -> Result bool { method is_revoked (line 46) | pub fn is_revoked(&self) -> bool { type AccessToken (line 52) | pub struct AccessToken { method jti (line 64) | pub fn jti(&self) -> String { method is_valid (line 74) | pub fn is_valid(&self, now: DateTime) -> bool { method is_expired (line 86) | pub fn is_expired(&self, now: DateTime) -> bool { method is_used (line 95) | pub fn is_used(&self) -> bool { method revoke (line 108) | pub fn revoke(mut self, revoked_at: DateTime) -> Result) -> Result bool { method next_refresh_token_id (line 169) | pub fn next_refresh_token_id(&self) -> Option { type RefreshToken (line 181) | pub struct RefreshToken { type Target (line 191) | type Target = RefreshTokenState; method deref (line 193) | fn deref(&self) -> &Self::Target { method jti (line 200) | pub fn jti(&self) -> String { method consume (line 209) | pub fn consume( method revoke (line 223) | pub fn revoke(mut self, revoked_at: DateTime) -> Result) -> std::fmt::Result { method prefix (line 261) | fn prefix(self) -> &'static str { method match_prefix (line 271) | fn match_prefix(prefix: &str) -> Option { method generate (line 283) | pub fn generate(self, rng: &mut (impl RngCore + ?Sized)) -> String { method check (line 301) | pub fn check(token: &str) -> Result { method eq (line 340) | fn eq(&self, other: &OAuthTokenTypeHint) -> bool { function is_likely_synapse_macaroon (line 363) | fn is_likely_synapse_macaroon(token: &str) -> bool { constant NUM (line 370) | const NUM: [u8; 62] = *b"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijk... function base62_encode (line 372) | fn base62_encode(mut num: u32) -> String { constant CRC (line 382) | const CRC: Crc = Crc::::new(&CRC_32_ISO_HDLC); type TokenFormatError (line 386) | pub enum TokenFormatError { function test_prefix_match (line 417) | fn test_prefix_match() { function test_is_likely_synapse_macaroon (line 447) | fn test_is_likely_synapse_macaroon() { function test_generate_and_check (line 468) | fn test_generate_and_check() { FILE: crates/data-model/src/upstream_oauth2/link.rs type UpstreamOAuthLink (line 12) | pub struct UpstreamOAuthLink { FILE: crates/data-model/src/upstream_oauth2/provider.rs type DiscoveryMode (line 17) | pub enum DiscoveryMode { method is_disabled (line 32) | pub fn is_disabled(&self) -> bool { type Err (line 42) | type Err = InvalidDiscoveryModeError; method from_str (line 44) | fn from_str(s: &str) -> Result { method as_str (line 56) | pub fn as_str(self) -> &'static str { method fmt (line 66) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type InvalidDiscoveryModeError (line 39) | pub struct InvalidDiscoveryModeError(String); type PkceMode (line 73) | pub enum PkceMode { type Err (line 90) | type Err = InvalidPkceModeError; method from_str (line 92) | fn from_str(s: &str) -> Result { method as_str (line 104) | pub fn as_str(self) -> &'static str { method fmt (line 114) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type InvalidPkceModeError (line 87) | pub struct InvalidPkceModeError(String); type InvalidResponseModeError (line 121) | pub struct InvalidResponseModeError(String); type ResponseMode (line 125) | pub enum ResponseMode { method as_str (line 142) | pub fn as_str(self) -> &'static str { method fmt (line 151) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 157) | type Err = InvalidResponseModeError; method from_str (line 159) | fn from_str(s: &str) -> Result { function from (line 132) | fn from(value: ResponseMode) -> Self { type TokenAuthMethod (line 170) | pub enum TokenAuthMethod { method as_str (line 181) | pub fn as_str(self) -> &'static str { method fmt (line 194) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 200) | type Err = InvalidUpstreamOAuth2TokenAuthMethod; method from_str (line 202) | fn from_str(s: &str) -> Result { type InvalidUpstreamOAuth2TokenAuthMethod (line 217) | pub struct InvalidUpstreamOAuth2TokenAuthMethod(String); type OnBackchannelLogout (line 221) | pub enum OnBackchannelLogout { method as_str (line 229) | pub fn as_str(self) -> &'static str { method fmt (line 239) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 245) | type Err = InvalidUpstreamOAuth2OnBackchannelLogout; method from_str (line 247) | fn from_str(s: &str) -> Result { type InvalidUpstreamOAuth2OnBackchannelLogout (line 259) | pub struct InvalidUpstreamOAuth2OnBackchannelLogout(String); type UpstreamOAuthProvider (line 262) | pub struct UpstreamOAuthProvider { method enabled (line 305) | pub const fn enabled(&self) -> bool { method partial_cmp (line 291) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 297) | fn cmp(&self, other: &Self) -> std::cmp::Ordering { type ClaimsImports (line 311) | pub struct ClaimsImports { type SubjectPreference (line 333) | pub struct SubjectPreference { type LocalpartPreference (line 339) | pub struct LocalpartPreference { type Target (line 351) | type Target = ImportAction; method deref (line 353) | fn deref(&self) -> &Self::Target { type ImportPreference (line 359) | pub struct ImportPreference { type Target (line 368) | type Target = ImportAction; method deref (line 370) | fn deref(&self) -> &Self::Target { type ImportAction (line 377) | pub enum ImportAction { method is_forced_or_required (line 394) | pub fn is_forced_or_required(&self) -> bool { method ignore (line 399) | pub fn ignore(&self) -> bool { method is_required (line 404) | pub fn is_required(&self) -> bool { method should_import (line 409) | pub fn should_import(&self, user_preference: bool) -> bool { type OnConflict (line 420) | pub enum OnConflict { FILE: crates/data-model/src/upstream_oauth2/session.rs type UpstreamOAuthAuthorizationSessionState (line 15) | pub enum UpstreamOAuthAuthorizationSessionState { method complete (line 53) | pub fn complete( method consume (line 85) | pub fn consume(self, consumed_at: DateTime) -> Result Option { method completed_at (line 131) | pub fn completed_at(&self) -> Option> { method id_token (line 147) | pub fn id_token(&self) -> Option<&str> { method id_token_claims (line 164) | pub fn id_token_claims(&self) -> Option<&serde_json::Value> { method extra_callback_parameters (line 186) | pub fn extra_callback_parameters(&self) -> Option<&serde_json::Value> { method userinfo (line 201) | pub fn userinfo(&self) -> Option<&serde_json::Value> { method consumed_at (line 216) | pub fn consumed_at(&self) -> Option> { method unlinked_at (line 232) | pub fn unlinked_at(&self) -> Option> { method is_pending (line 244) | pub fn is_pending(&self) -> bool { method is_completed (line 253) | pub fn is_completed(&self) -> bool { method is_consumed (line 262) | pub fn is_consumed(&self) -> bool { method is_unlinked (line 271) | pub fn is_unlinked(&self) -> bool { type UpstreamOAuthAuthorizationSession (line 277) | pub struct UpstreamOAuthAuthorizationSession { type Target (line 288) | type Target = UpstreamOAuthAuthorizationSessionState; method deref (line 290) | fn deref(&self) -> &Self::Target { method complete (line 305) | pub fn complete( method consume (line 334) | pub fn consume(mut self, consumed_at: DateTime) -> Result &Self::Target { method parse_custom (line 48) | fn parse_custom(user_agent: &str) -> Option<(&str, &str, &str, &str, O... method parse_electron (line 81) | fn parse_electron(user_agent: &str) -> Option<(&str, &str)> { method parse (line 90) | pub fn parse(user_agent: String) -> Self { FILE: crates/data-model/src/users.rs type MatrixUser (line 16) | pub struct MatrixUser { type User (line 22) | pub struct User { method is_valid (line 36) | pub fn is_valid(&self) -> bool { method is_valid_actor (line 50) | pub fn is_valid_actor(&self) -> bool { method samples (line 58) | pub fn samples(now: chrono::DateTime, rng: &mut impl Rng) -> Vec<... type Password (line 73) | pub struct Password { type Authentication (line 82) | pub struct Authentication { type AuthenticationMethod (line 89) | pub enum AuthenticationMethod { type UserRecoverySession (line 101) | pub struct UserRecoverySession { type UserRecoveryTicket (line 117) | pub struct UserRecoveryTicket { method active (line 128) | pub fn active(&self, now: DateTime) -> bool { type UserEmailAuthentication (line 135) | pub struct UserEmailAuthentication { type UserEmailAuthenticationCode (line 146) | pub struct UserEmailAuthenticationCode { type BrowserSession (line 155) | pub struct BrowserSession { method active (line 167) | pub fn active(&self) -> bool { method samples (line 174) | pub fn samples(now: chrono::DateTime, rng: &mut impl Rng) -> Vec<... type UserEmail (line 193) | pub struct UserEmail { method samples (line 202) | pub fn samples(now: chrono::DateTime, rng: &mut impl Rng) -> Vec<... type UserRegistrationPassword (line 221) | pub struct UserRegistrationPassword { type UserRegistrationToken (line 227) | pub struct UserRegistrationToken { method is_valid (line 241) | pub fn is_valid(&self, now: DateTime) -> bool { method can_be_used (line 267) | pub fn can_be_used(&self, now: DateTime) -> bool { type UserRegistration (line 273) | pub struct UserRegistration { FILE: crates/data-model/src/utils.rs type BoxClock (line 11) | pub type BoxClock = Box; type BoxRng (line 13) | pub type BoxRng = Box; FILE: crates/data-model/src/version.rs type AppVersion (line 8) | pub struct AppVersion(pub &'static str); FILE: crates/email/src/mailer.rs type Mailer (line 20) | pub struct Mailer { method new (line 38) | pub fn new( method base_message (line 52) | fn base_message(&self) -> MessageBuilder { method prepare_verification_email (line 61) | fn prepare_verification_email( method prepare_recovery_email (line 83) | fn prepare_recovery_email( method send_verification_email (line 118) | pub async fn send_verification_email( method send_recovery_email (line 143) | pub async fn send_recovery_email( method test_connection (line 159) | pub async fn test_connection(&self) -> Result<(), crate::transport::Er... type Error (line 29) | pub enum Error { FILE: crates/email/src/transport.rs type SmtpMode (line 24) | pub enum SmtpMode { type Transport (line 35) | pub struct Transport { method new (line 48) | fn new(inner: TransportInner) -> Self { method blackhole (line 55) | pub fn blackhole() -> Self { method smtp (line 64) | pub fn smtp( method sendmail (line 89) | pub fn sendmail(command: Option>) -> Self { method test_connection (line 106) | pub async fn test_connection(&self) -> Result<(), Error> { type TransportInner (line 40) | enum TransportInner { type Error (line 120) | pub enum Error { type Ok (line 127) | type Ok = (); type Error (line 128) | type Error = Error; method send_raw (line 130) | async fn send_raw(&self, envelope: &Envelope, email: &[u8]) -> Result) -> Self { method ip (line 31) | pub fn ip(&self) -> Option { method record_oauth2_session (line 36) | pub async fn record_oauth2_session(&self, clock: &dyn Clock, session: ... method record_personal_session (line 43) | pub async fn record_personal_session(&self, clock: &dyn Clock, session... method record_compat_session (line 50) | pub async fn record_compat_session(&self, clock: &dyn Clock, session: ... method record_browser_session (line 57) | pub async fn record_browser_session(&self, clock: &dyn Clock, session:... FILE: crates/handlers/src/activity_tracker/mod.rs type SessionKind (line 26) | enum SessionKind { method as_str (line 35) | const fn as_str(self) -> &'static str { type Message (line 45) | enum Message { type ActivityTracker (line 56) | pub struct ActivityTracker { method new (line 67) | pub fn new( method bind (line 90) | pub fn bind(self, ip: Option) -> Bound { method record_oauth2_session (line 95) | pub async fn record_oauth2_session( method record_personal_session (line 117) | pub async fn record_personal_session( method record_compat_session (line 139) | pub async fn record_compat_session( method record_browser_session (line 161) | pub async fn record_browser_session( method flush (line 183) | pub async fn flush(&self) { method flush_loop (line 206) | async fn flush_loop( FILE: crates/handlers/src/activity_tracker/worker.rs constant TYPE (line 32) | const TYPE: Key = Key::from_static_str("type"); constant SESSION_KIND (line 33) | const SESSION_KIND: Key = Key::from_static_str("session_kind"); constant RESULT (line 34) | const RESULT: Key = Key::from_static_str("result"); type ActivityRecord (line 37) | struct ActivityRecord { type Worker (line 46) | pub struct Worker { method new (line 55) | pub(crate) fn new(repository_factory: BoxRepositoryFactory) -> Self { method run (line 101) | pub(super) async fn run( method flush (line 189) | async fn flush(&mut self) { method try_flush (line 220) | async fn try_flush(&mut self) -> Result<(), RepositoryError> { FILE: crates/handlers/src/admin/call_context.rs type Rejection (line 31) | pub enum Rejection { method into_response (line 82) | fn into_response(self) -> Response { type CallContext (line 121) | pub struct CallContext { type Rejection (line 137) | type Rejection = Rejection; method from_request_parts (line 139) | async fn from_request_parts( type CallerSession (line 300) | pub enum CallerSession { method scope (line 306) | pub fn scope(&self) -> &Scope { method user_id (line 313) | pub fn user_id(&self) -> Option { FILE: crates/handlers/src/admin/mod.rs function finish (line 45) | fn finish(t: TransformOpenApi) -> TransformOpenApi { function oauth_security_scheme (line 114) | fn oauth_security_scheme(url_builder: Option<&UrlBuilder>) -> SecuritySc... function router (line 157) | pub fn router() -> (OpenApi, Router) function swagger (line 235) | async fn swagger( function swagger_callback (line 244) | async fn swagger_callback( FILE: crates/handlers/src/admin/model.rs type Resource (line 24) | pub trait Resource { constant KIND (line 26) | const KIND: &'static str; constant PATH (line 29) | const PATH: &'static str; method id (line 32) | fn id(&self) -> Ulid; method path (line 37) | fn path(&self) -> String { constant KIND (line 117) | const KIND: &'static str = "user"; constant PATH (line 118) | const PATH: &'static str = "/api/admin/v1/users"; method id (line 120) | fn id(&self) -> Ulid { constant KIND (line 143) | const KIND: &'static str = "user-email"; constant PATH (line 144) | const PATH: &'static str = "/api/admin/v1/user-emails"; method id (line 146) | fn id(&self) -> Ulid { constant KIND (line 243) | const KIND: &'static str = "compat-session"; constant PATH (line 244) | const PATH: &'static str = "/api/admin/v1/compat-sessions"; method id (line 246) | fn id(&self) -> Ulid { constant KIND (line 403) | const KIND: &'static str = "oauth2-session"; constant PATH (line 404) | const PATH: &'static str = "/api/admin/v1/oauth2-sessions"; method id (line 406) | fn id(&self) -> Ulid { constant KIND (line 487) | const KIND: &'static str = "user-session"; constant PATH (line 488) | const PATH: &'static str = "/api/admin/v1/user-sessions"; method id (line 490) | fn id(&self) -> Ulid { constant KIND (line 520) | const KIND: &'static str = "upstream-oauth-link"; constant PATH (line 521) | const PATH: &'static str = "/api/admin/v1/upstream-oauth-links"; method id (line 523) | fn id(&self) -> Ulid { constant KIND (line 597) | const KIND: &'static str = "policy-data"; constant PATH (line 598) | const PATH: &'static str = "/api/admin/v1/policy-data"; method id (line 600) | fn id(&self) -> Ulid { constant KIND (line 668) | const KIND: &'static str = "user-registration_token"; constant PATH (line 669) | const PATH: &'static str = "/api/admin/v1/user-registration-tokens"; method id (line 671) | fn id(&self) -> Ulid { constant KIND (line 742) | const KIND: &'static str = "upstream-oauth-provider"; constant PATH (line 743) | const PATH: &'static str = "/api/admin/v1/upstream-oauth-providers"; method id (line 745) | fn id(&self) -> Ulid { constant KIND (line 891) | const KIND: &'static str = "personal-session"; constant PATH (line 892) | const PATH: &'static str = "/api/admin/v1/personal-sessions"; method id (line 894) | fn id(&self) -> Ulid { type User (line 44) | pub struct User { method samples (line 69) | pub fn samples() -> [Self; 3] { method from (line 103) | fn from(user: mas_data_model::User) -> Self { type UserEmail (line 127) | pub struct UserEmail { method from (line 152) | fn from(value: mas_data_model::UserEmail) -> Self { method samples (line 163) | pub fn samples() -> [Self; 1] { type CompatSession (line 175) | pub struct CompatSession { method from (line 219) | fn from( method samples (line 252) | pub fn samples() -> [Self; 3] { type OAuth2Session (line 299) | pub struct OAuth2Session { method from (line 338) | fn from(session: mas_data_model::Session) -> Self { method samples (line 357) | pub fn samples() -> [Self; 3] { type UserSession (line 413) | pub struct UserSession { method from (line 438) | fn from(value: mas_data_model::BrowserSession) -> Self { method samples (line 453) | pub fn samples() -> [Self; 3] { type UpstreamOAuthLink (line 497) | pub struct UpstreamOAuthLink { method from (line 529) | fn from(value: mas_data_model::UpstreamOAuthLink) -> Self { method samples (line 543) | pub fn samples() -> [Self; 3] { type PolicyData (line 575) | pub struct PolicyData { method from (line 587) | fn from(policy_data: mas_data_model::PolicyData) -> Self { method samples (line 607) | pub fn samples() -> [Self; 1] { type UserRegistrationToken (line 622) | pub struct UserRegistrationToken { method new (line 652) | pub fn new(token: mas_data_model::UserRegistrationToken, now: DateTime... method samples (line 678) | pub fn samples() -> [Self; 2] { type UpstreamOAuthProvider (line 708) | pub struct UpstreamOAuthProvider { method from (line 729) | fn from(provider: mas_data_model::UpstreamOAuthProvider) -> Self { method samples (line 752) | pub fn samples() -> [Self; 3] { type InconsistentPersonalSession (line 788) | pub struct InconsistentPersonalSession { type PersonalSession (line 796) | pub struct PersonalSession { type Error (line 847) | type Error = InconsistentPersonalSession; method try_from (line 849) | fn try_from( method samples (line 901) | pub fn samples() -> [Self; 3] { method with_token (line 952) | pub fn with_token(mut self, access_token: String) -> Self { FILE: crates/handlers/src/admin/params.rs type UlidPathParamRejection (line 30) | pub struct UlidPathParamRejection(#[from] PathRejection); method into_response (line 33) | fn into_response(self) -> axum::response::Response { type UlidInPath (line 43) | struct UlidInPath { type UlidPathParam (line 52) | pub struct UlidPathParam(#[from_request(via(Path))] UlidInPath); type Target (line 55) | type Target = Ulid; method deref (line 57) | fn deref(&self) -> &Self::Target { constant DEFAULT_PAGE_SIZE (line 63) | const DEFAULT_PAGE_SIZE: usize = 10; type IncludeCount (line 66) | pub enum IncludeCount { method add_to_base (line 82) | pub(crate) fn add_to_base(self, base: &str) -> Cow<'_, str> { type PaginationParams (line 94) | struct PaginationParams { type PaginationRejection (line 119) | pub enum PaginationRejection { method into_response (line 128) | fn into_response(self) -> axum::response::Response { type Pagination (line 140) | pub struct Pagination(pub mas_storage::Pagination, pub IncludeCount); type Rejection (line 143) | type Rejection = PaginationRejection; method from_request_parts (line 145) | async fn from_request_parts( FILE: crates/handlers/src/admin/response.rs type PaginationLinks (line 18) | struct PaginationLinks { type PaginationMeta (line 45) | struct PaginationMeta { method is_empty (line 52) | fn is_empty(&self) -> bool { type PaginatedResponse (line 59) | pub struct PaginatedResponse { function url_with_pagination (line 73) | fn url_with_pagination(base: &str, pagination: Pagination) -> String { function for_page (line 102) | pub fn for_page( function for_count_only (line 151) | pub fn for_count_only(count: usize, base: &str) -> Self { type SingleResource (line 170) | struct SingleResource { type SingleResourceMeta (line 193) | struct SingleResourceMeta { method is_empty (line 200) | fn is_empty(&self) -> bool { type SingleResourceMetaPage (line 207) | struct SingleResourceMetaPage { function new (line 213) | fn new(resource: T) -> Self { function from_edge (line 224) | fn from_edge(edge: Edge) -> Self { type SelfLinks (line 234) | struct SelfLinks { type SingleResponse (line 242) | pub struct SingleResponse { function new (line 249) | pub fn new(resource: T, self_: String) -> Self { function new_canonical (line 257) | pub fn new_canonical(resource: T) -> Self { type Error (line 265) | struct Error { method from_error (line 271) | fn from_error(error: &(dyn std::error::Error + 'static)) -> Self { type ErrorResponse (line 280) | pub struct ErrorResponse { method from_error (line 287) | pub fn from_error(error: &(dyn std::error::Error + 'static)) -> Self { FILE: crates/handlers/src/admin/schema.rs type Ulid (line 16) | pub struct Ulid; method schema_name (line 19) | fn schema_name() -> Cow<'static, str> { method json_schema (line 23) | fn json_schema(_gen: &mut SchemaGenerator) -> Schema { type Device (line 40) | pub struct Device; method schema_name (line 43) | fn schema_name() -> Cow<'static, str> { method json_schema (line 47) | fn json_schema(_gen: &mut SchemaGenerator) -> Schema { FILE: crates/handlers/src/admin/v1/compat_sessions/finish.rs type RouteError (line 26) | pub enum RouteError { method into_response (line 40) | fn into_response(self) -> axum::response::Response { function doc (line 52) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 83) | pub async fn handler( function test_finish_session (line 136) | async fn test_finish_session(pool: PgPool) { function test_finish_already_finished_session (line 175) | async fn test_finish_already_finished_session(pool: PgPool) { function test_finish_unknown_session (line 226) | async fn test_finish_unknown_session(pool: PgPool) { FILE: crates/handlers/src/admin/v1/compat_sessions/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 47) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 66) | pub async fn handler( function test_get (line 94) | async fn test_get(pool: PgPool) { function test_not_found (line 151) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/compat_sessions/list.rs type CompatSessionStatus (line 29) | enum CompatSessionStatus { method fmt (line 35) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FilterParams (line 47) | pub struct FilterParams { method fmt (line 70) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 95) | pub enum RouteError { method into_response (line 112) | fn into_response(self) -> axum::response::Response { function doc (line 125) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 163) | pub async fn handler( function test_compat_session_list (line 251) | async fn test_compat_session_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/mod.rs function router (line 34) | pub fn router() -> ApiRouter FILE: crates/handlers/src/admin/v1/oauth2_sessions/finish.rs type RouteError (line 26) | pub enum RouteError { method into_response (line 40) | fn into_response(self) -> axum::response::Response { function doc (line 52) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 83) | pub async fn handler( function test_finish_session (line 130) | async fn test_finish_session(pool: PgPool) { function test_finish_already_finished_session (line 160) | async fn test_finish_already_finished_session(pool: PgPool) { function test_finish_unknown_session (line 217) | async fn test_finish_unknown_session(pool: PgPool) { FILE: crates/handlers/src/admin/v1/oauth2_sessions/get.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 36) | fn into_response(self) -> axum::response::Response { function doc (line 47) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 66) | pub async fn handler( function test_get (line 91) | async fn test_get(pool: PgPool) { function test_not_found (line 142) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/oauth2_sessions/list.rs type OAuth2SessionStatus (line 33) | enum OAuth2SessionStatus { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type OAuth2ClientKind (line 49) | enum OAuth2ClientKind { method fmt (line 55) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FilterParams (line 67) | pub struct FilterParams { method fmt (line 103) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 143) | pub enum RouteError { method into_response (line 166) | fn into_response(self) -> axum::response::Response { function doc (line 180) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 222) | pub async fn handler( function test_oauth2_simple_session_list (line 342) | async fn test_oauth2_simple_session_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/personal_sessions/add.rs type RouteError (line 33) | pub enum RouteError { method into_response (line 51) | fn into_response(self) -> axum::response::Response { type Request (line 67) | pub struct Request { function doc (line 83) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 102) | pub async fn handler( function test_create_personal_session_with_token (line 198) | async fn test_create_personal_session_with_token(pool: PgPool) { function test_create_personal_session_invalid_user (line 260) | async fn test_create_personal_session_invalid_user(pool: PgPool) { function test_create_personal_session_invalid_scope (line 281) | async fn test_create_personal_session_invalid_scope(pool: PgPool) { FILE: crates/handlers/src/admin/v1/personal_sessions/get.rs type RouteError (line 23) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 46) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 68) | pub async fn handler( function test_get (line 105) | async fn test_get(pool: PgPool) { function test_not_found (line 177) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/personal_sessions/list.rs type PersonalSessionStatus (line 33) | enum PersonalSessionStatus { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FilterParams (line 51) | pub struct FilterParams { method fmt (line 89) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 140) | pub enum RouteError { method into_response (line 161) | fn into_response(self) -> axum::response::Response { function doc (line 173) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 215) | pub async fn handler( function test_list (line 352) | async fn test_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/personal_sessions/mod.rs function personal_session_owner_from_caller (line 26) | fn personal_session_owner_from_caller(caller: &CallerSession) -> Persona... FILE: crates/handlers/src/admin/v1/personal_sessions/regenerate.rs type RouteError (line 29) | pub enum RouteError { method into_response (line 50) | fn into_response(self) -> axum::response::Response { type Request (line 66) | pub struct Request { function doc (line 72) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 89) | pub async fn handler( function test_regenerate_personal_session (line 172) | async fn test_regenerate_personal_session(pool: PgPool) { FILE: crates/handlers/src/admin/v1/personal_sessions/revoke.rs type RouteError (line 26) | pub enum RouteError { method into_response (line 41) | fn into_response(self) -> axum::response::Response { function doc (line 53) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 81) | pub async fn handler( function test_revoke_session (line 131) | async fn test_revoke_session(pool: PgPool) { function test_revoke_already_revoked_session (line 178) | async fn test_revoke_already_revoked_session(pool: PgPool) { function test_revoke_unknown_session (line 233) | async fn test_revoke_unknown_session(pool: PgPool) { FILE: crates/handlers/src/admin/v1/policy_data/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 46) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 63) | pub async fn handler( function test_get (line 86) | async fn test_get(pool: PgPool) { function test_get_not_found (line 135) | async fn test_get_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/policy_data/get_latest.rs type RouteError (line 22) | pub enum RouteError { method into_response (line 33) | fn into_response(self) -> axum::response::Response { function doc (line 44) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 62) | pub async fn handler( function test_get_latest (line 83) | async fn test_get_latest(pool: PgPool) { function test_get_no_latest (line 131) | async fn test_get_no_latest(pool: PgPool) { FILE: crates/handlers/src/admin/v1/policy_data/set.rs type RouteError (line 28) | pub enum RouteError { method into_response (line 39) | fn into_response(self) -> axum::response::Response { function data_example (line 50) | fn data_example() -> serde_json::Value { type SetPolicyDataRequest (line 61) | pub struct SetPolicyDataRequest { function doc (line 66) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 86) | pub async fn handler( function test_create (line 119) | async fn test_create(pool: PgPool) { FILE: crates/handlers/src/admin/v1/site_config.rs type SiteConfig (line 15) | pub struct SiteConfig { function doc (line 55) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 79) | pub async fn handler( FILE: crates/handlers/src/admin/v1/upstream_oauth_links/add.rs type RouteError (line 26) | pub enum RouteError { method into_response (line 43) | fn into_response(self) -> axum::response::Response { type Request (line 58) | pub struct Request { function doc (line 74) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 108) | pub async fn handler( function test_create (line 189) | async fn test_create(pool: PgPool) { function test_association (line 248) | async fn test_association(pool: PgPool) { function test_link_already_exists (line 319) | async fn test_link_already_exists(pool: PgPool) { function test_user_not_found (line 389) | async fn test_user_not_found(pool: PgPool) { function test_provider_not_found (line 430) | async fn test_provider_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/upstream_oauth_links/delete.rs type RouteError (line 19) | pub enum RouteError { method into_response (line 30) | fn into_response(self) -> axum::response::Response { function doc (line 41) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 55) | pub async fn handler( function test_delete (line 85) | async fn test_delete(pool: PgPool) { function test_not_found (line 168) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/upstream_oauth_links/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 46) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 65) | pub async fn handler( function test_get (line 91) | async fn test_get(pool: PgPool) { function test_not_found (line 161) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/upstream_oauth_links/list.rs type FilterParams (line 31) | pub struct FilterParams { method fmt (line 48) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 73) | pub enum RouteError { method into_response (line 90) | fn into_response(self) -> axum::response::Response { function doc (line 102) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 139) | pub async fn handler( function test_list (line 227) | async fn test_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/upstream_oauth_links/mod.rs function oidc_provider_params (line 29) | pub(crate) fn oidc_provider_params(name: &str) -> UpstreamOAuthProviderP... FILE: crates/handlers/src/admin/v1/upstream_oauth_providers/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 47) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 61) | pub async fn handler( function create_test_provider (line 95) | async fn create_test_provider(state: &mut TestState) -> UpstreamOAuthPro... function test_get_provider (line 136) | async fn test_get_provider(pool: PgPool) { function test_not_found (line 181) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/upstream_oauth_providers/list.rs type FilterParams (line 30) | pub struct FilterParams { method fmt (line 37) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 52) | pub enum RouteError { method into_response (line 63) | fn into_response(self) -> axum::response::Response { function doc (line 75) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 106) | pub async fn handler( function create_test_providers (line 166) | async fn create_test_providers(state: &mut TestState) { function test_list_all_providers (line 276) | async fn test_list_all_providers(pool: PgPool) { function test_filter_by_enabled_true (line 367) | async fn test_filter_by_enabled_true(pool: PgPool) { function test_filter_by_enabled_false (line 436) | async fn test_filter_by_enabled_false(pool: PgPool) { function test_pagination (line 486) | async fn test_pagination(pool: PgPool) { function test_invalid_filter (line 603) | async fn test_invalid_filter(pool: PgPool) { function test_count_parameter (line 618) | async fn test_count_parameter(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_emails/add.rs type RouteError (line 32) | pub enum RouteError { method into_response (line 54) | fn into_response(self) -> axum::response::Response { type Request (line 70) | pub struct Request { function doc (line 80) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 112) | pub async fn handler( function test_create (line 172) | async fn test_create(pool: PgPool) { function test_user_not_found (line 218) | async fn test_user_not_found(pool: PgPool) { function test_email_already_exists (line 244) | async fn test_email_already_exists(pool: PgPool) { function test_invalid_email (line 288) | async fn test_invalid_email(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_emails/delete.rs type RouteError (line 21) | pub enum RouteError { method into_response (line 32) | fn into_response(self) -> axum::response::Response { function doc (line 43) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 56) | pub async fn handler( function test_delete (line 88) | async fn test_delete(pool: PgPool) { function test_not_found (line 129) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_emails/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 46) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 63) | pub async fn handler( function test_get (line 85) | async fn test_get(pool: PgPool) { function test_not_found (line 140) | async fn test_not_found(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_emails/list.rs type FilterParams (line 31) | pub struct FilterParams { method fmt (line 43) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 63) | pub enum RouteError { method into_response (line 77) | fn into_response(self) -> axum::response::Response { function doc (line 89) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 125) | pub async fn handler( function test_list (line 192) | async fn test_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/add.rs type RouteError (line 28) | pub enum RouteError { method into_response (line 39) | fn into_response(self) -> axum::response::Response { type Request (line 53) | pub struct Request { function doc (line 65) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 79) | pub async fn handler( function test_create (line 128) | async fn test_create(pool: PgPool) { function test_create_auto_token (line 170) | async fn test_create_auto_token(pool: PgPool) { function test_create_conflict (line 212) | async fn test_create_conflict(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/get.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 36) | fn into_response(self) -> axum::response::Response { function doc (line 47) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 66) | pub async fn handler( function test_get_token (line 93) | async fn test_get_token(pool: PgPool) { function test_get_nonexistent_token (line 149) | async fn test_get_nonexistent_token(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/list.rs type FilterParams (line 31) | pub struct FilterParams { method fmt (line 53) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 80) | pub enum RouteError { method into_response (line 91) | fn into_response(self) -> axum::response::Response { function doc (line 103) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 134) | pub async fn handler( function create_test_tokens (line 198) | async fn create_test_tokens(state: &mut TestState) { function test_list_all_tokens (line 286) | async fn test_list_all_tokens(pool: PgPool) { function test_filter_by_used (line 426) | async fn test_filter_by_used(pool: PgPool) { function test_filter_by_revoked (line 590) | async fn test_filter_by_revoked(pool: PgPool) { function test_filter_by_expired (line 754) | async fn test_filter_by_expired(pool: PgPool) { function test_filter_by_valid (line 918) | async fn test_filter_by_valid(pool: PgPool) { function test_combined_filters (line 1082) | async fn test_combined_filters(pool: PgPool) { function test_pagination (line 1137) | async fn test_pagination(pool: PgPool) { function test_invalid_filter (line 1327) | async fn test_invalid_filter(pool: PgPool) { function test_count_parameter (line 1349) | async fn test_count_parameter(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/revoke.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 39) | fn into_response(self) -> axum::response::Response { function doc (line 51) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 75) | pub async fn handler( function test_revoke_token (line 114) | async fn test_revoke_token(pool: PgPool) { function test_revoke_already_revoked_token (line 151) | async fn test_revoke_already_revoked_token(pool: PgPool) { function test_revoke_unknown_token (line 200) | async fn test_revoke_unknown_token(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/unrevoke.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 39) | fn into_response(self) -> axum::response::Response { function doc (line 51) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 75) | pub async fn handler( function test_unrevoke_token (line 112) | async fn test_unrevoke_token(pool: PgPool) { function test_unrevoke_not_revoked_token (line 180) | async fn test_unrevoke_not_revoked_token(pool: PgPool) { function test_unrevoke_unknown_token (line 220) | async fn test_unrevoke_unknown_token(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_registration_tokens/update.rs function deserialize_some (line 27) | fn deserialize_some<'de, T, D>(deserializer: D) -> Result, D::... type Request (line 38) | pub struct Request { type RouteError (line 60) | pub enum RouteError { method into_response (line 71) | fn into_response(self) -> axum::response::Response { function doc (line 82) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 102) | pub async fn handler( function test_update_expiry (line 153) | async fn test_update_expiry(pool: PgPool) { function test_update_usage_limit (line 258) | async fn test_update_usage_limit(pool: PgPool) { function test_update_multiple_fields (line 362) | async fn test_update_multiple_fields(pool: PgPool) { function test_update_no_fields (line 428) | async fn test_update_no_fields(pool: PgPool) { function test_update_unknown_token (line 490) | async fn test_update_unknown_token(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_sessions/finish.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 38) | fn into_response(self) -> axum::response::Response { function doc (line 50) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 81) | pub async fn handler( function test_finish_session (line 120) | async fn test_finish_session(pool: PgPool) { function test_finish_already_finished_session (line 155) | async fn test_finish_already_finished_session(pool: PgPool) { function test_finish_unknown_session (line 199) | async fn test_finish_unknown_session(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_sessions/get.rs type RouteError (line 24) | pub enum RouteError { method into_response (line 35) | fn into_response(self) -> axum::response::Response { function doc (line 46) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 64) | pub async fn handler( function test_get (line 88) | async fn test_get(pool: PgPool) { FILE: crates/handlers/src/admin/v1/user_sessions/list.rs type UserSessionStatus (line 29) | enum UserSessionStatus { method fmt (line 35) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FilterParams (line 47) | pub struct FilterParams { method fmt (line 65) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 85) | pub enum RouteError { method into_response (line 99) | fn into_response(self) -> axum::response::Response { function doc (line 111) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 149) | pub async fn handler( function test_user_session_list (line 219) | async fn test_user_session_list(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/add.rs function valid_username_character (line 28) | fn valid_username_character(c: char) -> bool { function username_valid (line 40) | fn username_valid(username: &str) -> bool { type RouteError (line 60) | pub enum RouteError { method into_response (line 80) | fn into_response(self) -> axum::response::Response { type Request (line 95) | pub struct Request { function doc (line 114) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 140) | pub async fn handler( function test_add_user (line 205) | async fn test_add_user(pool: PgPool) { function test_add_user_invalid_username (line 252) | async fn test_add_user_invalid_username(pool: PgPool) { function test_add_user_exists (line 271) | async fn test_add_user_exists(pool: PgPool) { function test_add_user_reserved (line 303) | async fn test_add_user_reserved(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/by_username.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 36) | fn into_response(self) -> axum::response::Response { type UsernamePathParam (line 48) | pub struct UsernamePathParam { function doc (line 53) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 71) | pub async fn handler( FILE: crates/handlers/src/admin/v1/users/deactivate.rs type RouteError (line 30) | pub enum RouteError { method into_response (line 41) | fn into_response(self) -> axum::response::Response { type Request (line 55) | pub struct Request { function doc (line 62) | pub fn doc(mut operation: TransformOperation) -> TransformOperation { function handler (line 95) | pub async fn handler( function test_deactivate_user_helper (line 141) | async fn test_deactivate_user_helper(pool: PgPool, skip_erase: Option axum::response::Response { function doc (line 47) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 64) | pub async fn handler( FILE: crates/handlers/src/admin/v1/users/list.rs type UserStatus (line 29) | enum UserStatus { method fmt (line 36) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FilterParams (line 49) | pub struct FilterParams { method fmt (line 79) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RouteError (line 106) | pub enum RouteError { method into_response (line 117) | fn into_response(self) -> axum::response::Response { function doc (line 128) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 159) | pub async fn handler( function test_list_users (line 219) | async fn test_list_users(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/lock.rs type RouteError (line 27) | pub enum RouteError { method into_response (line 38) | fn into_response(self) -> axum::response::Response { function doc (line 49) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 70) | pub async fn handler( function test_lock_user (line 115) | async fn test_lock_user(pool: PgPool) { function test_lock_user_twice (line 171) | async fn test_lock_user_twice(pool: PgPool) { function test_lock_unknown_user (line 207) | async fn test_lock_unknown_user(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/reactivate.rs type RouteError (line 27) | pub enum RouteError { method into_response (line 41) | fn into_response(self) -> axum::response::Response { function doc (line 52) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 73) | pub async fn handler( function test_reactivate_deactivated_user (line 113) | async fn test_reactivate_deactivated_user(pool: PgPool) { function test_reactivate_active_user (line 168) | async fn test_reactivate_active_user(pool: PgPool) { function test_reactivate_unknown_user (line 206) | async fn test_reactivate_unknown_user(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/set_admin.rs type RouteError (line 27) | pub enum RouteError { method into_response (line 38) | fn into_response(self) -> axum::response::Response { type Request (line 52) | pub struct Request { function doc (line 57) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 77) | pub async fn handler( function test_change_can_request_admin (line 111) | async fn test_change_can_request_admin(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/set_password.rs type RouteError (line 25) | pub enum RouteError { method into_response (line 45) | fn into_response(self) -> axum::response::Response { type Request (line 61) | pub struct Request { function doc (line 70) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 92) | pub async fn handler( function test_set_password (line 149) | async fn test_set_password(pool: PgPool) { function test_weak_password (line 197) | async fn test_weak_password(pool: PgPool) { function test_unknown_user (line 257) | async fn test_unknown_user(pool: PgPool) { function test_disabled (line 280) | async fn test_disabled(pool: PgPool) { FILE: crates/handlers/src/admin/v1/users/unlock.rs type RouteError (line 27) | pub enum RouteError { method into_response (line 38) | fn into_response(self) -> axum::response::Response { function doc (line 49) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 70) | pub async fn handler( function test_unlock_user (line 115) | async fn test_unlock_user(pool: PgPool) { function test_unlock_deactivated_user (line 173) | async fn test_unlock_deactivated_user(pool: PgPool) { function test_lock_unknown_user (line 234) | async fn test_lock_unknown_user(pool: PgPool) { FILE: crates/handlers/src/admin/v1/version.rs type Version (line 15) | pub struct Version { function doc (line 20) | pub fn doc(operation: TransformOperation) -> TransformOperation { function handler (line 29) | pub async fn handler( function test_add_user (line 45) | async fn test_add_user(pool: PgPool) { FILE: crates/handlers/src/bin/api-schema.rs type DummyState (line 25) | struct DummyState; function main (line 65) | fn main() -> Result<(), Box> { FILE: crates/handlers/src/bin/graphql-schema.rs function main (line 16) | fn main() { FILE: crates/handlers/src/captcha.rs constant RECAPTCHA_VERIFY_URL (line 17) | const RECAPTCHA_VERIFY_URL: &str = "https://www.recaptcha.net/recaptcha/... constant HCAPTCHA_VERIFY_URL (line 20) | const HCAPTCHA_VERIFY_URL: &str = "https://api.hcaptcha.com/siteverify"; constant CF_TURNSTILE_VERIFY_URL (line 23) | const CF_TURNSTILE_VERIFY_URL: &str = "https://challenges.cloudflare.com... type Error (line 26) | pub enum Error { type Form (line 54) | pub struct Form { method verify (line 160) | pub async fn verify( type VerificationRequest (line 61) | struct VerificationRequest<'a> { type VerificationResponse (line 68) | struct VerificationResponse { type ErrorCode (line 79) | pub enum ErrorCode { FILE: crates/handlers/src/cleanup_tests.rs type TestSessionHierarchy (line 50) | struct TestSessionHierarchy { constant UPSTREAM_OAUTH_ISSUER (line 63) | const UPSTREAM_OAUTH_ISSUER: &str = "https://idp.example.com"; constant UPSTREAM_OAUTH_CLIENT_ID (line 64) | const UPSTREAM_OAUTH_CLIENT_ID: &str = "test-client"; constant UPSTREAM_OAUTH_SESSION_ID (line 65) | const UPSTREAM_OAUTH_SESSION_ID: &str = "upstream-oauth-session-id"; constant UPSTREAM_OAUTH_SUBJECT (line 66) | const UPSTREAM_OAUTH_SUBJECT: &str = "upstream-oauth-sub"; function create_session_hierarchy (line 76) | async fn create_session_hierarchy( function test_cleanup_sessions_within_retention_preserved (line 292) | async fn test_cleanup_sessions_within_retention_preserved(pool: PgPool) { function test_cleanup_deactivated_users (line 356) | async fn test_cleanup_deactivated_users(pool: PgPool) { function test_cleanup_sessions_after_retention_deleted (line 467) | async fn test_cleanup_sessions_after_retention_deleted(pool: PgPool) { function test_cleanup_user_session_blocked_by_child_sessions (line 532) | async fn test_cleanup_user_session_blocked_by_child_sessions(pool: PgPoo... function test_backchannel_logout_works_before_cleanup (line 580) | async fn test_backchannel_logout_works_before_cleanup(pool: PgPool) { function test_active_sessions_not_cleaned_up (line 729) | async fn test_active_sessions_not_cleaned_up(pool: PgPool) { FILE: crates/handlers/src/compat/login.rs constant TYPE (line 54) | const TYPE: Key = Key::from_static_str("type"); constant RESULT (line 55) | const RESULT: Key = Key::from_static_str("result"); constant INACTIVE_SESSION_THRESHOLD (line 59) | const INACTIVE_SESSION_THRESHOLD: chrono::TimeDelta = Duration::days(90); type LoginType (line 63) | enum LoginType { type SsoIdentityProvider (line 85) | struct SsoIdentityProvider { type LoginTypes (line 91) | struct LoginTypes { function get (line 96) | pub(crate) async fn get(State(password_manager): State)... type RequestBody (line 124) | pub struct RequestBody { type Credentials (line 145) | pub enum Credentials { method login_type (line 162) | fn login_type(&self) -> &'static str { type Identifier (line 173) | pub enum Identifier { type ResponseBody (line 184) | pub struct ResponseBody { type RouteError (line 194) | pub enum RouteError { method from (line 242) | fn from(err: anyhow::Error) -> Self { method into_response (line 248) | fn into_response(self) -> axum::response::Response { function post (line 315) | pub(crate) async fn post( function process_violations_for_compat_login (line 516) | async fn process_violations_for_compat_login( constant MINIMUM_SESSIONS_TO_FETCH (line 664) | const MINIMUM_SESSIONS_TO_FETCH: usize = 2160; function find_lru_compat_sessions_flawed (line 673) | async fn find_lru_compat_sessions_flawed( function token_login (line 755) | async fn token_login( function user_password_login (line 896) | async fn user_password_login( function test_get_login (line 1030) | async fn test_get_login(pool: PgPool) { function test_bad_body (line 1061) | async fn test_bad_body(pool: PgPool) { function test_password_disabled (line 1111) | async fn test_password_disabled(pool: PgPool) { function user_with_password (line 1165) | async fn user_with_password( function test_user_password_login (line 1208) | async fn test_user_password_login(pool: PgPool) { function test_no_content_type (line 1380) | async fn test_no_content_type(pool: PgPool) { function test_user_password_login_mxid (line 1412) | async fn test_user_password_login_mxid(pool: PgPool) { function test_password_login_rate_limit (line 1478) | async fn test_password_login_rate_limit(pool: PgPool) { function test_unsupported_login_identifier (line 1532) | async fn test_unsupported_login_identifier(pool: PgPool) { function test_unsupported_login (line 1559) | async fn test_unsupported_login(pool: PgPool) { function test_login_token_login (line 1581) | async fn test_login_token_login(pool: PgPool) { function get_login_token (line 1732) | async fn get_login_token(state: &TestState, user: &User) -> String { type ConsentForbiddenPageType (line 1772) | pub enum ConsentForbiddenPageType { type MatrixCompatSsoLoginError (line 1784) | pub enum MatrixCompatSsoLoginError { function extract_csrf_token_from_page_html (line 1799) | fn extract_csrf_token_from_page_html(body: &str) -> Option { function matrix_compat_sso_login (line 1816) | async fn matrix_compat_sso_login( function test_session_soft_limit_interactive_login (line 2014) | async fn test_session_soft_limit_interactive_login(pool: PgPool) { function test_session_soft_limit_does_not_affect_non_interactive_login (line 2079) | async fn test_session_soft_limit_does_not_affect_non_interactive_login(p... function test_session_hard_limit_compat_login (line 2133) | async fn test_session_hard_limit_compat_login(pool: PgPool) { function test_session_limit_under_max_session_threshold_interactive (line 2192) | async fn test_session_limit_under_max_session_threshold_interactive(pool... function test_session_limit_under_max_session_threshold_non_interactive (line 2253) | async fn test_session_limit_under_max_session_threshold_non_interactive(... function test_session_limit_past_max_session_threshold_interactive (line 2318) | async fn test_session_limit_past_max_session_threshold_interactive(pool:... function test_session_limit_past_max_session_threshold_non_interactive (line 2394) | async fn test_session_limit_past_max_session_threshold_non_interactive(p... function test_session_dangerous_hard_limit_eviction_old_compat_login (line 2461) | async fn test_session_dangerous_hard_limit_eviction_old_compat_login(poo... function test_session_dangerous_hard_limit_eviction_recent_compat_login (line 2629) | async fn test_session_dangerous_hard_limit_eviction_recent_compat_login(... FILE: crates/handlers/src/compat/login_sso_complete.rs type Params (line 39) | pub struct Params { function get (line 48) | pub async fn get( function post (line 189) | pub async fn post( FILE: crates/handlers/src/compat/login_sso_redirect.rs type Params (line 22) | pub struct Params { method action (line 33) | fn action(&self) -> Option { type RouteError (line 41) | pub enum RouteError { method into_response (line 55) | fn into_response(self) -> axum::response::Response { function get (line 66) | pub async fn get( function test_unstable_action_fallback (line 108) | async fn test_unstable_action_fallback(pool: PgPool) { function test_unknown_action (line 133) | async fn test_unknown_action(pool: PgPool) { FILE: crates/handlers/src/compat/logout.rs constant RESULT (line 33) | const RESULT: Key = Key::from_static_str("result"); type RouteError (line 36) | pub enum RouteError { method into_response (line 53) | fn into_response(self) -> axum::response::Response { function post (line 79) | pub(crate) async fn post( FILE: crates/handlers/src/compat/logout_all.rs constant RESULT (line 37) | const RESULT: Key = Key::from_static_str("result"); type RouteError (line 40) | pub enum RouteError { method into_response (line 75) | fn into_response(self) -> axum::response::Response { type RequestBody (line 122) | pub(crate) struct RequestBody { function post (line 128) | pub(crate) async fn post( FILE: crates/handlers/src/compat/mod.rs type MatrixError (line 32) | struct MatrixError { method into_response (line 40) | fn into_response(self) -> axum::response::Response { type MatrixJsonBody (line 47) | pub struct MatrixJsonBody(pub T); type MatrixJsonBodyRejection (line 50) | pub enum MatrixJsonBodyRejection { method into_response (line 65) | fn into_response(self) -> axum::response::Response { type Rejection (line 118) | type Rejection = MatrixJsonBodyRejection; function from_request (line 120) | async fn from_request(req: Request, state: &S) -> Result Result, S... FILE: crates/handlers/src/compat/refresh.rs type RequestBody (line 25) | pub struct RequestBody { type RouteError (line 30) | pub enum RouteError { method into_response (line 54) | fn into_response(self) -> axum::response::Response { type ResponseBody (line 81) | pub struct ResponseBody { function post (line 89) | pub(crate) async fn post( FILE: crates/handlers/src/compat/tests.rs type LoginCredentials (line 15) | enum LoginCredentials { type LoginIdentifier (line 25) | enum LoginIdentifier { type LoginRequest (line 31) | struct LoginRequest { type LoginResponse (line 39) | struct LoginResponse { type RefreshRequest (line 50) | struct RefreshRequest { type RefreshResponse (line 55) | struct RefreshResponse { function test_compat_refresh (line 63) | async fn test_compat_refresh(pool: sqlx::PgPool) { function test_refresh_with_invalid_token (line 134) | async fn test_refresh_with_invalid_token(pool: sqlx::PgPool) { function test_refresh_with_consumed_token (line 149) | async fn test_refresh_with_consumed_token(pool: sqlx::PgPool) { function create_test_user (line 194) | async fn create_test_user(state: &TestState, username: &str) -> mas_data... FILE: crates/handlers/src/graphql/mod.rs type ExtraRouterParameters (line 67) | pub struct ExtraRouterParameters { type GraphQLState (line 71) | struct GraphQLState { method repository (line 83) | async fn repository(&self) -> Result { method policy (line 87) | async fn policy(&self) -> Result { method password_manager (line 91) | fn password_manager(&self) -> PasswordManager { method site_config (line 95) | fn site_config(&self) -> &SiteConfig { method homeserver_connection (line 99) | fn homeserver_connection(&self) -> &dyn HomeserverConnection { method url_builder (line 103) | fn url_builder(&self) -> &UrlBuilder { method limiter (line 107) | fn limiter(&self) -> &Limiter { method clock (line 111) | fn clock(&self) -> BoxClock { method rng (line 116) | fn rng(&self) -> BoxRng { function schema (line 126) | pub fn schema( function span_for_graphql_request (line 149) | fn span_for_graphql_request(request: &async_graphql::Request) -> tracing... type RouteError (line 167) | pub enum RouteError { method into_response (line 187) | fn into_response(self) -> Response { function get_requester (line 232) | async fn get_requester( function post (line 309) | pub async fn post( function get (line 369) | pub async fn get( function playground (line 420) | pub async fn playground() -> impl IntoResponse { type Schema (line 426) | pub type Schema = async_graphql::Schema SchemaBuilder { type Requester (line 436) | pub struct Requester { method fingerprint (line 443) | pub fn fingerprint(&self) -> RequesterFingerprint { method for_policy (line 451) | pub fn for_policy(&self) -> mas_policy::Requester { type Target (line 460) | type Target = RequestingEntity; method deref (line 462) | fn deref(&self) -> &Self::Target { type RequestingEntity (line 469) | pub enum RequestingEntity { method browser_session (line 531) | fn browser_session(&self) -> Option<&BrowserSession> { method user (line 538) | fn user(&self) -> Option<&User> { method oauth2_session (line 546) | fn oauth2_session(&self) -> Option<&Session> { method is_owner_or_admin (line 554) | fn is_owner_or_admin(&self, resource: &impl OwnerId) -> bool { method is_admin (line 572) | fn is_admin(&self) -> bool { method is_unauthenticated (line 583) | fn is_unauthenticated(&self) -> bool { method from (line 589) | fn from(session: BrowserSession) -> Self { method from (line 598) | fn from(session: Option) -> Self { type OwnerId (line 481) | trait OwnerId { method owner_id (line 482) | fn owner_id(&self) -> Option; method owner_id (line 486) | fn owner_id(&self) -> Option { method owner_id (line 492) | fn owner_id(&self) -> Option { method owner_id (line 498) | fn owner_id(&self) -> Option { method owner_id (line 504) | fn owner_id(&self) -> Option { method owner_id (line 510) | fn owner_id(&self) -> Option { method owner_id (line 516) | fn owner_id(&self) -> Option { method owner_id (line 525) | fn owner_id(&self) -> Option { type UserId (line 522) | pub struct UserId(Ulid); type DateFilter (line 605) | pub struct DateFilter { FILE: crates/handlers/src/graphql/model/browser_sessions.rs type BrowserSession (line 25) | pub struct BrowserSession(pub mas_data_model::BrowserSession); method from (line 28) | fn from(v: mas_data_model::BrowserSession) -> Self { method id (line 36) | pub async fn id(&self) -> ID { method user (line 41) | async fn user(&self) -> User { method last_authentication (line 46) | async fn last_authentication( method created_at (line 64) | pub async fn created_at(&self) -> DateTime { method finished_at (line 69) | pub async fn finished_at(&self) -> Option> { method state (line 74) | pub async fn state(&self) -> SessionState { method user_agent (line 83) | pub async fn user_agent(&self) -> Option { method last_active_ip (line 92) | pub async fn last_active_ip(&self) -> Option { method last_active_at (line 97) | pub async fn last_active_at(&self) -> Option> { method app_sessions (line 104) | async fn app_sessions( type Authentication (line 196) | pub struct Authentication(pub mas_data_model::Authentication); method id (line 201) | pub async fn id(&self) -> ID { method created_at (line 206) | pub async fn created_at(&self) -> DateTime { FILE: crates/handlers/src/graphql/model/compat_sessions.rs type ReverseReference (line 21) | enum ReverseReference { type CompatSession (line 30) | pub struct CompatSession { method new (line 36) | pub fn new(session: mas_data_model::CompatSession) -> Self { method with_loaded_sso_login (line 44) | pub fn with_loaded_sso_login( method id (line 66) | pub async fn id(&self) -> ID { method user (line 71) | async fn user(&self, ctx: &Context<'_>) -> Result Option<&str> { method created_at (line 90) | pub async fn created_at(&self) -> DateTime { method finished_at (line 95) | pub async fn finished_at(&self) -> Option> { method user_agent (line 100) | pub async fn user_agent(&self) -> Option { method sso_login (line 109) | pub async fn sso_login( method browser_session (line 131) | pub async fn browser_session( method state (line 152) | pub async fn state(&self) -> SessionState { method last_active_ip (line 160) | pub async fn last_active_ip(&self) -> Option { method last_active_at (line 165) | pub async fn last_active_at(&self) -> Option> { method human_name (line 170) | pub async fn human_name(&self) -> Option<&str> { type CompatSessionType (line 55) | pub enum CompatSessionType { type CompatSsoLogin (line 178) | pub struct CompatSsoLogin(pub mas_data_model::CompatSsoLogin); method id (line 183) | pub async fn id(&self) -> ID { method created_at (line 188) | pub async fn created_at(&self) -> DateTime { method redirect_uri (line 193) | async fn redirect_uri(&self) -> &Url { method fulfilled_at (line 199) | async fn fulfilled_at(&self) -> Option> { method exchanged_at (line 204) | async fn exchanged_at(&self) -> Option> { method session (line 209) | async fn session( FILE: crates/handlers/src/graphql/model/cursor.rs type NodeCursor (line 14) | pub struct NodeCursor(pub NodeType, pub Ulid); method extract_for_types (line 17) | pub fn extract_for_types(&self, node_types: &[NodeType]) -> Result Result; FILE: crates/handlers/src/graphql/model/matrix.rs type MatrixUser (line 11) | pub struct MatrixUser { method load (line 26) | pub(crate) async fn load( FILE: crates/handlers/src/graphql/model/mod.rs type CreationEvent (line 40) | pub enum CreationEvent { type PreloadedTotalCount (line 52) | pub struct PreloadedTotalCount(pub Option); method total_count (line 57) | async fn total_count(&self) -> Result { type SessionState (line 65) | pub enum SessionState { type DeviceType (line 75) | pub enum DeviceType { method from (line 90) | fn from(device_type: mas_data_model::DeviceType) -> Self { type UserAgent (line 102) | pub struct UserAgent { method from (line 126) | fn from(ua: mas_data_model::UserAgent) -> Self { FILE: crates/handlers/src/graphql/model/node.rs type NodeType (line 19) | pub enum NodeType { method to_prefix (line 44) | fn to_prefix(self) -> &'static str { method from_prefix (line 61) | fn from_prefix(prefix: &str) -> Option { method serialize (line 79) | pub fn serialize(self, id: impl Into) -> String { method id (line 85) | pub fn id(self, id: impl Into) -> ID { method deserialize (line 89) | pub fn deserialize(serialized: &str) -> Result<(Self, Ulid), InvalidID> { method from_id (line 96) | pub fn from_id(id: &ID) -> Result<(Self, Ulid), InvalidID> { method extract_ulid (line 100) | pub fn extract_ulid(self, id: &ID) -> Result { type InvalidID (line 36) | pub enum InvalidID { type Node (line 117) | pub enum Node { FILE: crates/handlers/src/graphql/model/oauth.rs type OAuth2Session (line 20) | pub struct OAuth2Session(pub mas_data_model::Session); method id (line 25) | pub async fn id(&self) -> ID { method client (line 30) | pub async fn client(&self, ctx: &Context<'_>) -> Result String { method created_at (line 49) | pub async fn created_at(&self) -> DateTime { method finished_at (line 54) | pub async fn finished_at(&self) -> Option> { method user_agent (line 62) | pub async fn user_agent(&self) -> Option { method state (line 71) | pub async fn state(&self) -> SessionState { method browser_session (line 79) | pub async fn browser_session( method user (line 100) | pub async fn user(&self, ctx: &Context<'_>) -> Result, as... method last_active_ip (line 122) | pub async fn last_active_ip(&self) -> Option { method last_active_at (line 127) | pub async fn last_active_at(&self) -> Option> { method human_name (line 132) | pub async fn human_name(&self) -> Option<&str> { type OAuth2ApplicationType (line 139) | pub enum OAuth2ApplicationType { type OAuth2Client (line 149) | pub struct OAuth2Client(pub mas_data_model::Client); method id (line 154) | pub async fn id(&self) -> ID { method client_id (line 159) | pub async fn client_id(&self) -> &str { method client_name (line 164) | pub async fn client_name(&self) -> Option<&str> { method client_uri (line 169) | pub async fn client_uri(&self) -> Option<&Url> { method logo_uri (line 174) | pub async fn logo_uri(&self) -> Option<&Url> { method tos_uri (line 179) | pub async fn tos_uri(&self) -> Option<&Url> { method policy_uri (line 184) | pub async fn policy_uri(&self) -> Option<&Url> { method redirect_uris (line 189) | pub async fn redirect_uris(&self) -> &[Url] { method application_type (line 194) | pub async fn application_type(&self) -> Option { FILE: crates/handlers/src/graphql/model/site_config.rs constant SITE_CONFIG_ID (line 12) | pub const SITE_CONFIG_ID: &str = "site_config"; constant CAPTCHA_CONFIG_ID (line 13) | pub const CAPTCHA_CONFIG_ID: &str = "captcha_config"; type SiteConfig (line 18) | pub struct SiteConfig { method id (line 108) | pub async fn id(&self) -> ID { method new (line 116) | pub fn new(data_model: &mas_data_model::SiteConfig) -> Self { type CaptchaConfig (line 69) | pub struct CaptchaConfig { method id (line 142) | pub async fn id(&self) -> ID { method new (line 150) | pub fn new(data_model: &mas_data_model::CaptchaConfig) -> Self { type CaptchaService (line 79) | pub enum CaptchaService { type SessionLimitConfig (line 87) | pub struct SessionLimitConfig { method new (line 96) | pub fn new(data_model: &mas_data_model::SessionLimitConfig) -> Self { FILE: crates/handlers/src/graphql/model/upstream_oauth.rs type UpstreamOAuth2Provider (line 17) | pub struct UpstreamOAuth2Provider { method new (line 23) | pub const fn new(provider: mas_data_model::UpstreamOAuthProvider) -> S... method id (line 31) | pub async fn id(&self) -> ID { method created_at (line 36) | pub async fn created_at(&self) -> DateTime { method issuer (line 41) | pub async fn issuer(&self) -> Option<&str> { method client_id (line 46) | pub async fn client_id(&self) -> &str { method human_name (line 51) | pub async fn human_name(&self) -> Option<&str> { method brand_name (line 58) | pub async fn brand_name(&self) -> Option<&str> { method link_url (line 63) | pub async fn link_url(&self, context: &Context<'_>) -> Url { type UpstreamOAuth2Link (line 83) | pub struct UpstreamOAuth2Link { method new (line 73) | pub const fn new(link: mas_data_model::UpstreamOAuthLink) -> Self { method id (line 92) | pub async fn id(&self) -> ID { method created_at (line 97) | pub async fn created_at(&self) -> DateTime { method subject (line 102) | pub async fn subject(&self) -> &str { method human_account_name (line 107) | pub async fn human_account_name(&self) -> Option<&str> { method provider (line 112) | pub async fn provider( method user (line 138) | pub async fn user(&self, ctx: &Context<'_>) -> Result, as... FILE: crates/handlers/src/graphql/model/users.rs type User (line 33) | pub struct User(pub mas_data_model::User); method from (line 36) | fn from(v: mas_data_model::User) -> Self { method from (line 42) | fn from(v: mas_data_model::BrowserSession) -> Self { method id (line 50) | pub async fn id(&self) -> ID { method username (line 55) | async fn username(&self) -> &str { method created_at (line 60) | pub async fn created_at(&self) -> DateTime { method locked_at (line 65) | pub async fn locked_at(&self) -> Option> { method can_request_admin (line 70) | pub async fn can_request_admin(&self) -> bool { method matrix (line 75) | async fn matrix(&self, ctx: &Context<'_>) -> Result) -> Result ID { method email (line 738) | async fn email(&self) -> &str { method created_at (line 743) | pub async fn created_at(&self) -> DateTime { method confirmed_at (line 750) | async fn confirmed_at(&self) -> Option> { type UserEmailState (line 757) | pub enum UserEmailState { type UserRecoveryTicket (line 767) | pub struct UserRecoveryTicket(pub mas_data_model::UserRecoveryTicket); method id (line 785) | pub async fn id(&self) -> ID { method created_at (line 790) | pub async fn created_at(&self) -> DateTime { method status (line 795) | pub async fn status( method username (line 823) | pub async fn username(&self, ctx: &Context<'_>) -> Result) -> Result ID { method created_at (line 875) | pub async fn created_at(&self) -> DateTime { method completed_at (line 880) | pub async fn completed_at(&self) -> Option> { method email (line 885) | pub async fn email(&self) -> &str { FILE: crates/handlers/src/graphql/model/viewer/anonymous.rs type Anonymous (line 11) | pub struct Anonymous; method id (line 15) | pub async fn id(&self) -> ID { FILE: crates/handlers/src/graphql/model/viewer/mod.rs type Viewer (line 16) | pub enum Viewer { method user (line 22) | pub fn user(user: mas_data_model::User) -> Self { method anonymous (line 26) | pub fn anonymous() -> Self { type ViewerSession (line 33) | pub enum ViewerSession { method browser_session (line 40) | pub fn browser_session(session: mas_data_model::BrowserSession) -> Self { method oauth2_session (line 44) | pub fn oauth2_session(session: mas_data_model::Session) -> Self { method anonymous (line 48) | pub fn anonymous() -> Self { FILE: crates/handlers/src/graphql/mutations/browser_session.rs type BrowserSessionMutations (line 16) | pub struct BrowserSessionMutations { method end_browser_session (line 64) | async fn end_browser_session( type EndBrowserSessionInput (line 22) | pub struct EndBrowserSessionInput { type EndBrowserSessionPayload (line 28) | pub enum EndBrowserSessionPayload { method status (line 46) | async fn status(&self) -> EndBrowserSessionStatus { method browser_session (line 54) | async fn browser_session(&self) -> Option { type EndBrowserSessionStatus (line 35) | enum EndBrowserSessionStatus { FILE: crates/handlers/src/graphql/mutations/compat_session.rs type CompatSessionMutations (line 21) | pub struct CompatSessionMutations { method end_compat_session (line 117) | async fn end_compat_session( method set_compat_session_name (line 157) | async fn set_compat_session_name( type EndCompatSessionInput (line 27) | pub struct EndCompatSessionInput { type EndCompatSessionPayload (line 33) | pub enum EndCompatSessionPayload { method status (line 51) | async fn status(&self) -> EndCompatSessionStatus { method compat_session (line 59) | async fn compat_session(&self) -> Option { type EndCompatSessionStatus (line 40) | enum EndCompatSessionStatus { type SetCompatSessionNameInput (line 69) | pub struct SetCompatSessionNameInput { type SetCompatSessionNamePayload (line 78) | pub enum SetCompatSessionNamePayload { method status (line 99) | async fn status(&self) -> SetCompatSessionNameStatus { method oauth2_session (line 107) | async fn oauth2_session(&self) -> Option { type SetCompatSessionNameStatus (line 88) | enum SetCompatSessionNameStatus { FILE: crates/handlers/src/graphql/mutations/matrix.rs type MatrixMutations (line 17) | pub struct MatrixMutations { method set_display_name (line 69) | async fn set_display_name( type SetDisplayNameInput (line 23) | struct SetDisplayNameInput { type SetDisplayNameStatus (line 33) | pub enum SetDisplayNameStatus { type SetDisplayNamePayload (line 42) | enum SetDisplayNamePayload { method status (line 50) | async fn status(&self) -> SetDisplayNameStatus { method user (line 58) | async fn user(&self) -> Option<&User> { FILE: crates/handlers/src/graphql/mutations/mod.rs type Mutation (line 25) | pub struct Mutation( method new (line 36) | pub fn new() -> Self { function verify_password_if_needed (line 45) | async fn verify_password_if_needed( FILE: crates/handlers/src/graphql/mutations/oauth2_session.rs type OAuth2SessionMutations (line 28) | pub struct OAuth2SessionMutations { method create_oauth2_session (line 166) | async fn create_oauth2_session( method end_oauth2_session (line 256) | async fn end_oauth2_session( method set_oauth2_session_name (line 298) | async fn set_oauth2_session_name( type CreateOAuth2SessionInput (line 34) | pub struct CreateOAuth2SessionInput { type CreateOAuth2SessionPayload (line 47) | pub struct CreateOAuth2SessionPayload { method access_token (line 56) | pub async fn access_token(&self) -> &str { method refresh_token (line 61) | pub async fn refresh_token(&self) -> Option<&str> { method oauth2_session (line 66) | pub async fn oauth2_session(&self) -> OAuth2Session { type EndOAuth2SessionInput (line 73) | pub struct EndOAuth2SessionInput { type EndOAuth2SessionPayload (line 79) | pub enum EndOAuth2SessionPayload { method status (line 97) | async fn status(&self) -> EndOAuth2SessionStatus { method oauth2_session (line 105) | async fn oauth2_session(&self) -> Option { type EndOAuth2SessionStatus (line 86) | enum EndOAuth2SessionStatus { type SetOAuth2SessionNameInput (line 115) | pub struct SetOAuth2SessionNameInput { type SetOAuth2SessionNamePayload (line 124) | pub enum SetOAuth2SessionNamePayload { method status (line 145) | async fn status(&self) -> SetOAuth2SessionNameStatus { method oauth2_session (line 153) | async fn oauth2_session(&self) -> Option { type SetOAuth2SessionNameStatus (line 134) | enum SetOAuth2SessionNameStatus { FILE: crates/handlers/src/graphql/mutations/user.rs type UserMutations (line 29) | pub struct UserMutations { method add_user (line 475) | async fn add_user( method lock_user (line 527) | async fn lock_user( method unlock_user (line 573) | async fn unlock_user( method set_can_request_admin (line 616) | async fn set_can_request_admin( method allow_user_cross_signing_reset (line 648) | async fn allow_user_cross_signing_reset( method set_password (line 683) | async fn set_password( method set_password_by_recovery (line 792) | async fn set_password_by_recovery( method resend_recovery_email (line 896) | pub async fn resend_recovery_email( method deactivate_user (line 945) | async fn deactivate_user( type AddUserInput (line 35) | struct AddUserInput { type AddUserStatus (line 49) | enum AddUserStatus { type AddUserPayload (line 65) | enum AddUserPayload { method status (line 75) | async fn status(&self) -> AddUserStatus { method user (line 85) | async fn user(&self) -> Option { type LockUserInput (line 95) | struct LockUserInput { type LockUserStatus (line 105) | enum LockUserStatus { type LockUserPayload (line 115) | enum LockUserPayload { method status (line 126) | async fn status(&self) -> LockUserStatus { method user (line 134) | async fn user(&self) -> Option { type UnlockUserInput (line 144) | struct UnlockUserInput { type UnlockUserStatus (line 151) | enum UnlockUserStatus { type UnlockUserPayload (line 161) | enum UnlockUserPayload { method status (line 172) | async fn status(&self) -> UnlockUserStatus { method user (line 180) | async fn user(&self) -> Option { type SetCanRequestAdminInput (line 190) | struct SetCanRequestAdminInput { type SetCanRequestAdminPayload (line 200) | enum SetCanRequestAdminPayload { method user (line 211) | async fn user(&self) -> Option { type AllowUserCrossSigningResetInput (line 221) | struct AllowUserCrossSigningResetInput { type AllowUserCrossSigningResetPayload (line 228) | enum AllowUserCrossSigningResetPayload { method user (line 239) | async fn user(&self) -> Option { type SetPasswordInput (line 249) | struct SetPasswordInput { type SetPasswordByRecoveryInput (line 265) | struct SetPasswordByRecoveryInput { type SetPasswordPayload (line 277) | struct SetPasswordPayload { method status (line 327) | async fn status(&self) -> SetPasswordStatus { type SetPasswordStatus (line 283) | enum SetPasswordStatus { type ResendRecoveryEmailInput (line 334) | pub struct ResendRecoveryEmailInput { type ResendRecoveryEmailPayload (line 341) | pub enum ResendRecoveryEmailPayload { method status (line 363) | async fn status(&self) -> ResendRecoveryEmailStatus { method progress_url (line 372) | async fn progress_url(&self, context: &Context<'_>) -> Option { type ResendRecoveryEmailStatus (line 349) | pub enum ResendRecoveryEmailStatus { type DeactivateUserInput (line 389) | pub struct DeactivateUserInput { type DeactivateUserPayload (line 406) | pub enum DeactivateUserPayload { method status (line 427) | async fn status(&self) -> DeactivateUserStatus { method user (line 434) | async fn user(&self) -> Option { type DeactivateUserStatus (line 416) | pub enum DeactivateUserStatus { function valid_username_character (line 442) | fn valid_username_character(c: char) -> bool { function username_valid (line 454) | fn username_valid(username: &str) -> bool { FILE: crates/handlers/src/graphql/mutations/user_email.rs type UserEmailMutations (line 23) | pub struct UserEmailMutations { method add_email (line 416) | async fn add_email( method remove_email (line 487) | async fn remove_email( method set_primary_email (line 552) | async fn set_primary_email( method start_email_authentication (line 591) | async fn start_email_authentication( method resend_email_authentication_code (line 703) | async fn resend_email_authentication_code( method complete_email_authentication (line 766) | async fn complete_email_authentication( type AddEmailInput (line 29) | struct AddEmailInput { type AddEmailStatus (line 45) | pub enum AddEmailStatus { type AddEmailPayload (line 58) | enum AddEmailPayload { method status (line 70) | async fn status(&self) -> AddEmailStatus { method email (line 80) | async fn email(&self) -> Option { method user (line 90) | async fn user(&self, ctx: &Context<'_>) -> Result, async_... method violations (line 109) | async fn violations(&self) -> Option> { type RemoveEmailInput (line 121) | struct RemoveEmailInput { type RemoveEmailStatus (line 132) | enum RemoveEmailStatus { type RemoveEmailPayload (line 145) | enum RemoveEmailPayload { method status (line 154) | async fn status(&self) -> RemoveEmailStatus { method email (line 163) | async fn email(&self) -> Option { method user (line 171) | async fn user(&self, ctx: &Context<'_>) -> Result, async_... type SetPrimaryEmailInput (line 195) | struct SetPrimaryEmailInput { type SetPrimaryEmailStatus (line 202) | enum SetPrimaryEmailStatus { type SetPrimaryEmailPayload (line 213) | enum SetPrimaryEmailPayload { method status (line 220) | async fn status(&self) -> SetPrimaryEmailStatus { method user (line 228) | async fn user(&self) -> Option { type StartEmailAuthenticationInput (line 238) | struct StartEmailAuthenticationInput { type StartEmailAuthenticationStatus (line 253) | enum StartEmailAuthenticationStatus { type StartEmailAuthenticationPayload (line 270) | enum StartEmailAuthenticationPayload { method status (line 284) | async fn status(&self) -> StartEmailAuthenticationStatus { method authentication (line 296) | async fn authentication(&self) -> Option<&UserEmailAuthentication> { method violations (line 308) | async fn violations(&self) -> Option> { type CompleteEmailAuthenticationInput (line 320) | struct CompleteEmailAuthenticationInput { type CompleteEmailAuthenticationPayload (line 330) | enum CompleteEmailAuthenticationPayload { method status (line 356) | async fn status(&self) -> CompleteEmailAuthenticationStatus { type CompleteEmailAuthenticationStatus (line 340) | enum CompleteEmailAuthenticationStatus { type ResendEmailAuthenticationCodeInput (line 369) | struct ResendEmailAuthenticationCodeInput { type ResendEmailAuthenticationCodePayload (line 380) | enum ResendEmailAuthenticationCodePayload { method status (line 403) | async fn status(&self) -> ResendEmailAuthenticationCodeStatus { type ResendEmailAuthenticationCodeStatus (line 391) | enum ResendEmailAuthenticationCodeStatus { FILE: crates/handlers/src/graphql/query/mod.rs type Query (line 29) | pub struct Query( method new (line 39) | pub fn new() -> Self { type BaseQuery (line 45) | struct BaseQuery; method current_browser_session (line 52) | async fn current_browser_session( method current_user (line 65) | async fn current_user(&self, ctx: &Context<'_>) -> Result... method oauth2_client (line 71) | async fn oauth2_client( method browser_session (line 87) | async fn browser_session( method compat_session (line 112) | async fn compat_session( method oauth2_session (line 137) | async fn oauth2_session( method user_email (line 162) | async fn user_email( method user_recovery_ticket (line 187) | async fn user_recovery_ticket( method user_email_authentication (line 201) | async fn user_email_authentication( method node (line 227) | async fn node(&self, ctx: &Context<'_>, id: ID) -> Result... method site_config (line 297) | async fn site_config(&self, ctx: &Context<'_>) -> SiteConfig { FILE: crates/handlers/src/graphql/query/session.rs type SessionQuery (line 22) | pub struct SessionQuery; method session (line 34) | async fn session( type Session (line 26) | enum Session { FILE: crates/handlers/src/graphql/query/upstream_oauth.rs type UpstreamOAuthQuery (line 22) | pub struct UpstreamOAuthQuery; method upstream_oauth2_link (line 27) | pub async fn upstream_oauth2_link( method upstream_oauth2_provider (line 52) | pub async fn upstream_oauth2_provider( method upstream_oauth2_providers (line 77) | async fn upstream_oauth2_providers( FILE: crates/handlers/src/graphql/query/user.rs type UserQuery (line 20) | pub struct UserQuery; method user (line 25) | pub async fn user( method user_by_username (line 49) | async fn user_by_username( method users (line 75) | async fn users( type UserState (line 162) | enum UserState { FILE: crates/handlers/src/graphql/query/viewer.rs type ViewerQuery (line 15) | pub struct ViewerQuery; method viewer (line 20) | async fn viewer(&self, ctx: &Context<'_>) -> Viewer { method viewer_session (line 31) | async fn viewer_session(&self, ctx: &Context<'_>) -> ViewerSession { FILE: crates/handlers/src/graphql/state.rs constant CLEAR_SESSION_SENTINEL (line 16) | const CLEAR_SESSION_SENTINEL: &str = "__CLEAR_SESSION__"; type State (line 19) | pub trait State { method repository (line 20) | async fn repository(&self) -> Result; method policy (line 21) | async fn policy(&self) -> Result; method password_manager (line 22) | fn password_manager(&self) -> PasswordManager; method homeserver_connection (line 23) | fn homeserver_connection(&self) -> &dyn HomeserverConnection; method clock (line 24) | fn clock(&self) -> BoxClock; method rng (line 25) | fn rng(&self) -> BoxRng; method site_config (line 26) | fn site_config(&self) -> &SiteConfig; method url_builder (line 27) | fn url_builder(&self) -> &UrlBuilder; method limiter (line 28) | fn limiter(&self) -> &Limiter; type BoxState (line 31) | pub type BoxState = Box; type ContextExt (line 33) | pub trait ContextExt { method state (line 34) | fn state(&self) -> &BoxState; method mark_session_ended (line 36) | fn mark_session_ended(&self); method requester (line 38) | fn requester(&self) -> &Requester; method state (line 42) | fn state(&self) -> &BoxState { method mark_session_ended (line 46) | fn mark_session_ended(&self) { method requester (line 54) | fn requester(&self) -> &Requester { function has_session_ended (line 63) | pub fn has_session_ended(response: &mut Response) -> bool { FILE: crates/handlers/src/graphql/tests.rs function create_test_client (line 27) | async fn create_test_client(state: &TestState) -> Client { function create_test_user (line 62) | async fn create_test_user + Send>(state: &TestState, use... function start_oauth_session (line 78) | async fn start_oauth_session( constant GRAPHQL (line 112) | const GRAPHQL: ScopeToken = ScopeToken::from_static("urn:mas:graphql:*"); constant ADMIN (line 113) | const ADMIN: ScopeToken = ScopeToken::from_static("urn:mas:admin"); type GraphQLResponse (line 116) | struct GraphQLResponse { function test_get (line 125) | async fn test_get(pool: PgPool) { function test_anonymous_viewer (line 149) | async fn test_anonymous_viewer(pool: PgPool) { function test_oauth2_viewer (line 180) | async fn test_oauth2_viewer(pool: PgPool) { function test_oauth2_no_scope (line 227) | async fn test_oauth2_no_scope(pool: PgPool) { function test_oauth2_admin (line 265) | async fn test_oauth2_admin(pool: PgPool) { function test_oauth2_client_credentials (line 352) | async fn test_oauth2_client_credentials(pool: PgPool) { function test_add_user (line 580) | async fn test_add_user(pool: PgPool) { function test_set_password_rejected_wrong_password (line 793) | async fn test_set_password_rejected_wrong_password(pool: PgPool) { function test_start_email_authentication_rejected_wrong_password (line 867) | async fn test_start_email_authentication_rejected_wrong_password(pool: P... function test_remove_email_rejected_wrong_password (line 938) | async fn test_remove_email_rejected_wrong_password(pool: PgPool) { function test_deactivate_user_rejected_wrong_password (line 1020) | async fn test_deactivate_user_rejected_wrong_password(pool: PgPool) { FILE: crates/handlers/src/health.rs function get (line 12) | pub async fn get(State(pool): State) -> Result() -> Router function graphql_router (line 120) | pub fn graphql_router(playground: bool, undocumented_oauth2_access: b... function discovery_router (line 165) | pub fn discovery_router() -> Router function api_router (line 198) | pub fn api_router() -> Router function compat_router (line 263) | pub fn compat_router(templates: Templates) -> Router function human_router (line 335) | pub fn human_router(templates: Templates) -> Router function recover_error (line 476) | fn recover_error( function fallback (line 499) | pub async fn fallback( FILE: crates/handlers/src/oauth2/authorization/callback.rs type CallbackDestinationMode (line 21) | enum CallbackDestinationMode { type CallbackDestination (line 30) | pub struct CallbackDestination { type Error (line 58) | type Error = IntoCallbackDestinationError; method try_from (line 60) | fn try_from(value: &AuthorizationGrant) -> Result { method try_new (line 70) | pub fn try_new( method go (line 104) | pub fn go( type IntoCallbackDestinationError (line 37) | pub enum IntoCallbackDestinationError { type CallbackDestinationError (line 49) | pub enum CallbackDestinationError { function test_query_mode_location_header (line 204) | async fn test_query_mode_location_header(pool: PgPool) { FILE: crates/handlers/src/oauth2/authorization/consent.rs type RouteError (line 42) | pub enum RouteError { method into_response (line 69) | fn into_response(self) -> axum::response::Response { function get (line 87) | pub(crate) async fn get( function post (line 217) | pub(crate) async fn post( FILE: crates/handlers/src/oauth2/authorization/mod.rs type RouteError (line 37) | pub enum RouteError { method into_response (line 55) | fn into_response(self) -> axum::response::Response { type Params (line 75) | pub(crate) struct Params { function resolve_response_mode (line 86) | fn resolve_response_mode( function get (line 112) | pub(crate) async fn get( FILE: crates/handlers/src/oauth2/device/authorize.rs type RouteError (line 32) | pub(crate) enum RouteError { method into_response (line 63) | fn into_response(self) -> axum::response::Response { function post (line 98) | pub(crate) async fn post( function test_device_code_request (line 213) | async fn test_device_code_request(pool: PgPool) { function test_device_code_request_disabled (line 248) | async fn test_device_code_request_disabled(pool: PgPool) { FILE: crates/handlers/src/oauth2/device/consent.rs type Action (line 38) | enum Action { type ConsentForm (line 44) | pub(crate) struct ConsentForm { function get (line 49) | pub(crate) async fn get( function post (line 193) | pub(crate) async fn post( FILE: crates/handlers/src/oauth2/device/link.rs type Params (line 24) | pub struct Params { function get (line 30) | pub(crate) async fn get( FILE: crates/handlers/src/oauth2/discovery.rs type DiscoveryResponse (line 25) | struct DiscoveryResponse { function get (line 38) | pub(crate) async fn get( function test_valid_discovery_metadata (line 218) | async fn test_valid_discovery_metadata(pool: PgPool) { function test_discovery_device_code_grant_disabled (line 233) | async fn test_discovery_device_code_grant_disabled(pool: PgPool) { FILE: crates/handlers/src/oauth2/introspection.rs constant KIND (line 49) | const KIND: Key = Key::from_static_str("kind"); constant ACTIVE (line 50) | const ACTIVE: Key = Key::from_static_str("active"); type RouteError (line 53) | pub enum RouteError { method into_response (line 133) | fn into_response(self) -> axum::response::Response { constant INACTIVE (line 212) | const INACTIVE: IntrospectionResponse = IntrospectionResponse { constant UNSTABLE_API_SCOPE (line 229) | const UNSTABLE_API_SCOPE: ScopeToken = constant STABLE_API_SCOPE (line 231) | const STABLE_API_SCOPE: ScopeToken = ScopeToken::from_static("urn:matrix... constant SYNAPSE_ADMIN_SCOPE (line 232) | const SYNAPSE_ADMIN_SCOPE: ScopeToken = ScopeToken::from_static("urn:syn... function normalize_scope (line 236) | fn normalize_scope(mut scope: Scope) -> Scope { function post (line 261) | pub(crate) async fn post( function test_introspect_oauth_tokens (line 768) | async fn test_introspect_oauth_tokens(pool: PgPool) { function test_introspect_compat_tokens (line 981) | async fn test_introspect_compat_tokens(pool: PgPool) { function test_introspect_with_bearer_token (line 1158) | async fn test_introspect_with_bearer_token(pool: PgPool) { function test_introspect_personal_access_tokens (line 1183) | async fn test_introspect_personal_access_tokens(pool: PgPool) { FILE: crates/handlers/src/oauth2/keys.rs function get (line 11) | pub(crate) async fn get(State(key_store): State) -> impl IntoR... FILE: crates/handlers/src/oauth2/mod.rs type IdTokenSignatureError (line 38) | pub(crate) enum IdTokenSignatureError { function generate_id_token (line 47) | pub(crate) fn generate_id_token( function generate_token_pair (line 98) | pub(crate) async fn generate_token_pair( FILE: crates/handlers/src/oauth2/registration.rs constant RESULT (line 44) | const RESULT: Key = Key::from_static_str("result"); type RouteError (line 47) | pub(crate) enum RouteError { method into_response (line 71) | fn into_response(self) -> axum::response::Response { type RouteResponse (line 180) | struct RouteResponse { function host_is_public_suffix (line 188) | fn host_is_public_suffix(url: &Url) -> bool { function localised_url_has_public_suffix (line 213) | fn localised_url_has_public_suffix(url: &Localized) -> bool { function post (line 218) | pub(crate) async fn post( function test_public_suffix_list (line 415) | fn test_public_suffix_list() { function test_registration_error (line 435) | async fn test_registration_error(pool: PgPool) { function test_registration (line 528) | async fn test_registration(pool: PgPool) { function test_registration_dedupe (line 565) | async fn test_registration_dedupe(pool: PgPool) { function test_registration_device_code_grant_disabled (line 636) | async fn test_registration_device_code_grant_disabled(pool: PgPool) { FILE: crates/handlers/src/oauth2/revoke.rs type RouteError (line 30) | pub(crate) enum RouteError { method from (line 112) | fn from(_e: mas_data_model::TokenFormatError) -> Self { method into_response (line 68) | fn into_response(self) -> axum::response::Response { function post (line 122) | pub(crate) async fn post( function test_revoke_access_token (line 271) | async fn test_revoke_access_token(pool: PgPool) { FILE: crates/handlers/src/oauth2/token.rs constant GRANT_TYPE (line 62) | const GRANT_TYPE: Key = Key::from_static_str("grant_type"); constant RESULT (line 63) | const RESULT: Key = Key::from_static_str("successful"); type RouteError (line 66) | pub(crate) enum RouteError { method into_response (line 162) | fn into_response(self) -> axum::response::Response { function post (line 274) | pub(crate) async fn post( function authorization_code_grant (line 409) | async fn authorization_code_grant( function refresh_token_grant (line 610) | async fn refresh_token_grant( function client_credentials_grant (line 782) | async fn client_credentials_grant( function device_code_grant (line 860) | async fn device_code_grant( function test_auth_code_grant (line 1036) | async fn test_auth_code_grant(pool: PgPool) { function test_refresh_token_grant (line 1245) | async fn test_refresh_token_grant(pool: PgPool) { function test_double_refresh (line 1367) | async fn test_double_refresh(pool: PgPool) { function test_client_credentials (line 1579) | async fn test_client_credentials(pool: PgPool) { function test_device_code_grant (line 1711) | async fn test_device_code_grant(pool: PgPool) { function test_unsupported_grant (line 1909) | async fn test_unsupported_grant(pool: PgPool) { function test_device_code_grant_disabled (line 1947) | async fn test_device_code_grant_disabled(pool: PgPool) { FILE: crates/handlers/src/oauth2/userinfo.rs type UserInfo (line 35) | struct UserInfo { type SignedUserInfo (line 41) | struct SignedUserInfo { type RouteError (line 49) | pub enum RouteError { method into_response (line 76) | fn into_response(self) -> axum::response::Response { function get (line 101) | pub async fn get( FILE: crates/handlers/src/oauth2/webfinger.rs type Params (line 15) | pub(crate) struct Params { function jrd (line 23) | fn jrd() -> mime::Mime { function get (line 28) | pub(crate) async fn get( FILE: crates/handlers/src/passwords.rs type SchemeVersion (line 18) | pub type SchemeVersion = u16; type PasswordVerificationResult (line 27) | pub enum PasswordVerificationResult { function success (line 35) | fn success() -> Self { function failure (line 39) | fn failure() -> Self { function with_data (line 46) | fn with_data(self, data: N) -> PasswordVerificationResult { function is_success (line 54) | pub fn is_success(&self) -> bool { function from (line 60) | fn from(value: bool) -> Self { type PasswordManagerDisabledError (line 71) | pub struct PasswordManagerDisabledError; type PasswordManager (line 74) | pub struct PasswordManager { method new (line 97) | pub fn new>( method disabled (line 123) | pub const fn disabled() -> Self { method is_enabled (line 129) | pub const fn is_enabled(&self) -> bool { method get_inner (line 138) | fn get_inner(&self) -> Result, PasswordManag... method is_password_complex_enough (line 148) | pub fn is_password_complex_enough( method hash (line 165) | pub async fn hash( method verify (line 196) | pub async fn verify( method verify_and_upgrade (line 232) | pub async fn verify_and_upgrade( type InnerPasswordManager (line 78) | struct InnerPasswordManager { type Hasher (line 259) | pub struct Hasher { method bcrypt (line 268) | pub const fn bcrypt( method argon2id (line 283) | pub const fn argon2id(pepper: Option>, unicode_normalization: ... method pbkdf2 (line 294) | pub const fn pbkdf2(pepper: Option>, unicode_normalization: bo... method normalize_password (line 303) | fn normalize_password(&self, password: Zeroizing) -> Zeroizing... method hash_blocking (line 313) | fn hash_blocking( method verify_blocking (line 324) | fn verify_blocking( type Algorithm (line 337) | enum Algorithm { method hash_blocking (line 344) | fn hash_blocking( method verify_blocking (line 392) | fn verify_blocking( function hashing_bcrypt (line 456) | fn hashing_bcrypt() { function hashing_argon2id (line 515) | fn hashing_argon2id() { function hashing_pbkdf2 (line 575) | fn hashing_pbkdf2() { function hash_verify_and_upgrade (line 634) | async fn hash_verify_and_upgrade() { FILE: crates/handlers/src/preferred_language.rs type PreferredLanguage (line 17) | pub struct PreferredLanguage(pub DataLocale); type Rejection (line 24) | type Rejection = Infallible; method from_request_parts (line 26) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result) -> std::fmt::Result { constant EMPTY (line 69) | pub const EMPTY: Self = Self { ip: None }; method new (line 73) | pub const fn new(ip: IpAddr) -> Self { type Limiter (line 80) | pub struct Limiter { method new (line 133) | pub fn new(config: &RateLimitingConfig) -> Option { method start (line 143) | pub fn start(&self) { method check_account_recovery (line 179) | pub fn check_account_recovery( method check_password (line 206) | pub fn check_password( method check_registration (line 229) | pub fn check_registration( method check_email_authentication_email (line 247) | pub fn check_email_authentication_email( method check_email_authentication_attempt (line 273) | pub fn check_email_authentication_attempt( method check_email_authentication_send_code (line 289) | pub fn check_email_authentication_send_code( type KeyedRateLimiter (line 84) | type KeyedRateLimiter = RateLimiter, QuantaCl... type LimiterInner (line 87) | struct LimiterInner { method new (line 100) | fn new(config: &RateLimitingConfig) -> Option { function test_password_check_limiter (line 310) | fn test_password_check_limiter() { FILE: crates/handlers/src/session.rs type SessionLoadError (line 24) | pub enum SessionLoadError { type SessionOrFallback (line 30) | pub enum SessionOrFallback { function load_session_or_fallback (line 42) | pub async fn load_session_or_fallback( function count_user_sessions_for_limiting (line 136) | pub(crate) async fn count_user_sessions_for_limiting( FILE: crates/handlers/src/test_utils.rs function setup (line 62) | pub(crate) fn setup() { function policy_factory (line 71) | pub(crate) async fn policy_factory( type TestState (line 97) | pub(crate) struct TestState { method from_pool (line 159) | pub async fn from_pool(pool: PgPool) -> Result { method from_pool_with_site_config (line 164) | pub async fn from_pool_with_site_config( method run_jobs_in_queue (line 298) | pub async fn run_jobs_in_queue(&self) { method restart (line 307) | pub async fn restart(self) -> Self { method request (line 330) | pub async fn request(&self, request: Request) -> Response method token_with_scope (line 366) | pub async fn token_with_scope(&mut self, scope: &str) -> String { method repository (line 413) | pub async fn repository(&self) -> Result ChaChaRng { method is_access_token_valid (line 433) | pub async fn is_access_token_valid(&self, token: &str) -> bool { method cookie_jar (line 448) | pub fn cookie_jar(&self) -> CookieJar { function workspace_root (line 122) | fn workspace_root() -> camino::Utf8PathBuf { function test_site_config (line 130) | pub fn test_site_config() -> SiteConfig { type TestGraphQLState (line 453) | struct TestGraphQLState { method repository (line 467) | async fn repository(&self) -> Result Result { method password_manager (line 475) | fn password_manager(&self) -> PasswordManager { method homeserver_connection (line 479) | fn homeserver_connection(&self) -> &dyn HomeserverConnection { method url_builder (line 483) | fn url_builder(&self) -> &UrlBuilder { method clock (line 487) | fn clock(&self) -> BoxClock { method site_config (line 491) | fn site_config(&self) -> &SiteConfig { method limiter (line 495) | fn limiter(&self) -> &Limiter { method rng (line 499) | fn rng(&self) -> BoxRng { method from_ref (line 507) | fn from_ref(input: &TestState) -> Self { method from_ref (line 513) | fn from_ref(input: &TestState) -> Self { function from_ref (line 519) | fn from_ref(input: &TestState) -> Self { method from_ref (line 525) | fn from_ref(input: &TestState) -> Self { function from_ref (line 531) | fn from_ref(input: &TestState) -> Self { method from_ref (line 537) | fn from_ref(input: &TestState) -> Self { method from_ref (line 543) | fn from_ref(input: &TestState) -> Self { method from_ref (line 549) | fn from_ref(input: &TestState) -> Self { method from_ref (line 555) | fn from_ref(input: &TestState) -> Self { method from_ref (line 561) | fn from_ref(input: &TestState) -> Self { method from_ref (line 567) | fn from_ref(input: &TestState) -> Self { method from_ref (line 573) | fn from_ref(input: &TestState) -> Self { function from_ref (line 579) | fn from_ref(input: &TestState) -> Self { function from_ref (line 585) | fn from_ref(input: &TestState) -> Self { method from_ref (line 591) | fn from_ref(input: &TestState) -> Self { function from_ref (line 597) | fn from_ref(input: &TestState) -> Self { method from_ref (line 603) | fn from_ref(_input: &TestState) -> Self { type Rejection (line 609) | type Rejection = Infallible; method from_request_parts (line 611) | async fn from_request_parts( type Rejection (line 620) | type Rejection = Infallible; method from_request_parts (line 622) | async fn from_request_parts( type Rejection (line 632) | type Rejection = Infallible; method from_request_parts (line 634) | async fn from_request_parts( type Rejection (line 643) | type Rejection = Infallible; method from_request_parts (line 645) | async fn from_request_parts( type Rejection (line 654) | type Rejection = Infallible; method from_request_parts (line 656) | async fn from_request_parts( type Rejection (line 667) | type Rejection = ErrorWrapper; method from_request_parts (line 669) | async fn from_request_parts( type Rejection (line 679) | type Rejection = ErrorWrapper; method from_request_parts (line 681) | async fn from_request_parts( type RequestBuilderExt (line 690) | pub(crate) trait RequestBuilderExt { method json (line 692) | fn json(self, body: T) -> hyper::Request; method form (line 695) | fn form(self, body: T) -> hyper::Request; method bearer (line 698) | fn bearer(self, token: &str) -> Self; method basic_auth (line 702) | fn basic_auth(self, username: &str, password: &str) -> Self; method empty (line 705) | fn empty(self) -> hyper::Request; method json (line 709) | fn json(mut self, body: T) -> hyper::Request { method form (line 717) | fn form(mut self, body: T) -> hyper::Request { method bearer (line 726) | fn bearer(mut self, token: &str) -> Self { method basic_auth (line 733) | fn basic_auth(mut self, username: &str, password: &str) -> Self { method empty (line 740) | fn empty(self) -> hyper::Request { type ResponseExt (line 745) | pub(crate) trait ResponseExt { method assert_status (line 751) | fn assert_status(&self, status: StatusCode); method assert_header_value (line 759) | fn assert_header_value(&self, header: HeaderName, value: &str); method json (line 767) | fn json(&self) -> T; method assert_status (line 772) | fn assert_status(&self, status: StatusCode) { method assert_header_value (line 784) | fn assert_header_value(&self, header: HeaderName, value: &str) { method json (line 800) | fn json(&self) -> T { type CookieHelper (line 808) | pub struct CookieHelper { method new (line 813) | pub fn new() -> Self { method with_cookies (line 818) | pub fn with_cookies(&self, mut request: Request) -> Request { method save_cookies (line 839) | pub fn save_cookies(&self, response: &Response) { method import (line 860) | pub fn import(&self, res: impl IntoResponseParts) { type Service (line 867) | type Service = CookieStoreService; method layer (line 869) | fn layer(&self, inner: S) -> Self::Service { type CookieStoreService (line 878) | pub struct CookieStoreService { type Response (line 888) | type Response = S::Response; type Error (line 889) | type Error = S::Error; type Future (line 890) | type Future = BoxFuture<'static, Result>; function poll_ready (line 892) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { FILE: crates/handlers/src/upstream_oauth2/authorize.rs type RouteError (line 31) | pub(crate) enum RouteError { method into_response (line 44) | fn into_response(self) -> axum::response::Response { function get (line 59) | pub(crate) async fn get( FILE: crates/handlers/src/upstream_oauth2/backchannel_logout.rs type RouteError (line 44) | pub enum RouteError { method into_response (line 75) | fn into_response(self) -> axum::response::Response { type BackchannelLogoutRequest (line 121) | pub(crate) struct BackchannelLogoutRequest { type LogoutTokenEvents (line 126) | struct LogoutTokenEvents { constant EVENTS (line 132) | const EVENTS: Claim = Claim::new("events"); function post (line 139) | pub(crate) async fn post( FILE: crates/handlers/src/upstream_oauth2/cache.rs type LazyProviderInfos (line 22) | pub struct LazyProviderInfos<'a> { function new (line 30) | pub fn new( function maybe_discover (line 45) | pub async fn maybe_discover( function load (line 55) | async fn load(&mut self) -> Result<&VerifiedProviderMetadata, DiscoveryE... function jwks_uri (line 81) | pub async fn jwks_uri(&mut self) -> Result<&Url, DiscoveryError> { function authorization_endpoint (line 93) | pub async fn authorization_endpoint(&mut self) -> Result<&Url, Discovery... function token_endpoint (line 105) | pub async fn token_endpoint(&mut self) -> Result<&Url, DiscoveryError> { function userinfo_endpoint (line 117) | pub async fn userinfo_endpoint(&mut self) -> Result<&Url, DiscoveryError> { function pkce_methods (line 129) | pub async fn pkce_methods( type MetadataCache (line 152) | pub struct MetadataCache { method new (line 159) | pub fn new() -> Self { method warm_up_and_run (line 173) | pub async fn warm_up_and_run( method fetch (line 213) | async fn fetch( method get (line 249) | pub async fn get( method refresh_all (line 272) | async fn refresh_all(&self, client: &reqwest::Client) { function test_metadata_cache (line 320) | async fn test_metadata_cache() { function test_lazy_provider_infos (line 383) | async fn test_lazy_provider_infos() { FILE: crates/handlers/src/upstream_oauth2/callback.rs constant PROVIDER (line 55) | const PROVIDER: Key = Key::from_static_str("provider"); constant RESULT (line 56) | const RESULT: Key = Key::from_static_str("result"); type Params (line 59) | pub struct Params { method is_empty (line 84) | pub fn is_empty(&self) -> bool { type RouteError (line 94) | pub(crate) enum RouteError { method into_response (line 157) | fn into_response(self) -> axum::response::Response { function handler (line 174) | pub(crate) async fn handler( FILE: crates/handlers/src/upstream_oauth2/cookie.rs type Payload (line 24) | pub struct Payload { method expired (line 33) | fn expired(&self, now: DateTime) -> bool { type UpstreamSessions (line 45) | pub struct UpstreamSessions(Vec); method load (line 53) | pub fn load(cookie_jar: &CookieJar) -> Self { method is_empty (line 65) | pub fn is_empty(&self) -> bool { method save (line 70) | pub fn save(self, cookie_jar: CookieJar, clock: &C) -> CookieJar method expire (line 78) | fn expire(mut self, now: DateTime) -> Self { method add (line 84) | pub fn add( method find_session (line 102) | pub fn find_session( method add_link_to_session (line 115) | pub fn add_link_to_session( method lookup_link (line 131) | pub fn lookup_link( method consume_link (line 145) | pub fn consume_link(mut self, link_id: Ulid) -> Result axum::response::Response { function render_attribute_template (line 171) | fn render_attribute_template( type FormData (line 206) | pub(crate) enum FormData { type Field (line 221) | type Field = mas_templates::UpstreamRegisterFormField; function get (line 229) | pub(crate) async fn get( function post (line 847) | pub(crate) async fn post( function prepare_user_registration (line 1195) | async fn prepare_user_registration( function test_register (line 1275) | async fn test_register(pool: PgPool) { function test_register_skip_confirmation (line 1469) | async fn test_register_skip_confirmation(pool: PgPool) { function test_link_existing_account (line 1641) | async fn test_link_existing_account(pool: PgPool) { function test_link_existing_account_when_not_allowed_by_default (line 1760) | async fn test_link_existing_account_when_not_allowed_by_default(pool: Pg... function sign_token (line 1865) | fn sign_token( function add_linked_upstream_session (line 1884) | async fn add_linked_upstream_session( function test_link_existing_account_replace_conflict (line 1927) | async fn test_link_existing_account_replace_conflict(pool: PgPool) { function test_link_existing_account_set_conflict_success (line 2076) | async fn test_link_existing_account_set_conflict_success(pool: PgPool) { function test_link_existing_account_set_conflict_failure (line 2194) | async fn test_link_existing_account_set_conflict_failure(pool: PgPool) { FILE: crates/handlers/src/upstream_oauth2/mod.rs type ProviderCredentialsError (line 30) | enum ProviderCredentialsError { type SignInWithApple (line 60) | pub struct SignInWithApple { function client_credentials_for_provider (line 66) | fn client_credentials_for_provider( FILE: crates/handlers/src/upstream_oauth2/template.rs type AttributeMappingContext (line 24) | pub(crate) struct AttributeMappingContext { method new (line 31) | pub fn new() -> Self { method with_id_token_claims (line 35) | pub fn with_id_token_claims( method with_extra_callback_parameters (line 43) | pub fn with_extra_callback_parameters( method with_userinfo_claims (line 51) | pub fn with_userinfo_claims(mut self, userinfo_claims: serde_json::Val... method build (line 56) | pub fn build(self) -> Value { method get_value (line 62) | fn get_value(self: &Arc, name: &Value) -> Option { method enumerate (line 91) | fn enumerate(self: &Arc) -> Enumerator { function b64decode (line 109) | fn b64decode(value: &str) -> Result { function b64encode (line 129) | fn b64encode(bytes: &[u8]) -> String { function tlvdecode (line 134) | fn tlvdecode(bytes: &[u8]) -> Result, Error> { function string (line 164) | fn string(value: &Value) -> String { function from_json (line 168) | fn from_json(value: &str) -> Result { function environment (line 180) | pub fn environment() -> Environment<'static> { function test_split (line 201) | fn test_split() { function test_ilvdecode (line 210) | fn test_ilvdecode() { function test_base64_decode (line 228) | fn test_base64_decode() { FILE: crates/handlers/src/views/app.rs type Params (line 25) | pub struct Params { function get (line 34) | pub async fn get( function get_anonymous (line 86) | pub async fn get_anonymous( FILE: crates/handlers/src/views/index.rs function get (line 24) | pub async fn get( FILE: crates/handlers/src/views/login.rs constant RESULT (line 52) | const RESULT: Key = Key::from_static_str("result"); type LoginForm (line 55) | pub(crate) struct LoginForm { type Field (line 61) | type Field = LoginFormField; function get (line 65) | pub(crate) async fn get( function post (line 134) | pub(crate) async fn post( function get_user_by_email_or_by_username (line 361) | async fn get_user_by_email_or_by_username( function handle_login_hint (line 383) | fn handle_login_hint( function render (line 406) | async fn render( function test_password_disabled (line 472) | async fn test_password_disabled(pool: PgPool) { function user_with_password (line 596) | async fn user_with_password( function test_password_login (line 622) | async fn test_password_login(pool: PgPool) { function test_password_login_with_mxid (line 669) | async fn test_password_login_with_mxid(pool: PgPool) { function test_password_login_with_mxid_wrong_server (line 716) | async fn test_password_login_with_mxid_wrong_server(pool: PgPool) { function test_password_login_rate_limit (line 756) | async fn test_password_login_rate_limit(pool: PgPool) { function test_password_login_locked_account (line 825) | async fn test_password_login_locked_account(pool: PgPool) { function test_password_login_deactivated_account (line 884) | async fn test_password_login_deactivated_account(pool: PgPool) { FILE: crates/handlers/src/views/logout.rs function post (line 23) | pub(crate) async fn post( FILE: crates/handlers/src/views/recovery/progress.rs function get (line 29) | pub(crate) async fn get( function post (line 81) | pub(crate) async fn post( FILE: crates/handlers/src/views/recovery/start.rs type StartRecoveryForm (line 36) | pub(crate) struct StartRecoveryForm { function get (line 40) | pub(crate) async fn get( function post (line 76) | pub(crate) async fn post( FILE: crates/handlers/src/views/register/cookie.rs type UserRegistrationSessions (line 25) | pub struct UserRegistrationSessions(BTreeSet); method load (line 33) | pub fn load(cookie_jar: &CookieJar) -> Self { method is_empty (line 48) | pub fn is_empty(&self) -> bool { method save (line 53) | pub fn save(self, cookie_jar: CookieJar, clock: &C) -> CookieJar method expire (line 66) | fn expire(mut self, now: DateTime) -> Self { method add (line 81) | pub fn add(mut self, user_registration: &UserRegistration) -> Self { method contains (line 87) | pub fn contains(&self, user_registration: &UserRegistration) -> bool { method consume_session (line 92) | pub fn consume_session( type UserRegistrationSessionNotFound (line 29) | pub struct UserRegistrationSessionNotFound; FILE: crates/handlers/src/views/register/mod.rs function get (line 27) | pub(crate) async fn get( FILE: crates/handlers/src/views/register/password.rs type RegisterForm (line 46) | pub(crate) struct RegisterForm { type Field (line 60) | type Field = RegisterFormField; type QueryParams (line 64) | pub struct QueryParams { function get (line 71) | pub(crate) async fn get( function post (line 124) | pub(crate) async fn post( function render (line 407) | async fn render( function test_password_disabled (line 451) | async fn test_password_disabled(pool: PgPool) { function test_register (line 484) | async fn test_register(pool: PgPool) { function test_register_password_mismatch (line 550) | async fn test_register_password_mismatch(pool: PgPool) { function test_register_username_too_long (line 591) | async fn test_register_username_too_long(pool: PgPool) { function test_register_user_exists (line 637) | async fn test_register_user_exists(pool: PgPool) { function test_register_user_reserved (line 689) | async fn test_register_user_reserved(pool: PgPool) { function test_register_without_email_when_not_required (line 734) | async fn test_register_without_email_when_not_required(pool: PgPool) { function test_register_with_email_when_not_required (line 803) | async fn test_register_with_email_when_not_required(pool: PgPool) { function test_register_fails_without_email_when_required (line 873) | async fn test_register_fails_without_email_when_required(pool: PgPool) { function test_register_fails_with_empty_email_when_required (line 931) | async fn test_register_fails_with_empty_email_when_required(pool: PgPool) { function test_register_fails_with_invalid_email_when_required (line 990) | async fn test_register_fails_with_invalid_email_when_required(pool: PgPo... FILE: crates/handlers/src/views/register/steps/display_name.rs type FormAction (line 31) | enum FormAction { type DisplayNameForm (line 38) | pub(crate) struct DisplayNameForm { type Field (line 46) | type Field = mas_templates::RegisterStepsDisplayNameFormField; function get (line 54) | pub(crate) async fn get( function post (line 105) | pub(crate) async fn post( FILE: crates/handlers/src/views/register/steps/finish.rs function get (line 46) | pub(crate) async fn get( FILE: crates/handlers/src/views/register/steps/registration_token.rs type RegistrationTokenForm (line 30) | pub(crate) struct RegistrationTokenForm { type Field (line 36) | type Field = mas_templates::RegisterStepsRegistrationTokenFormField; function get (line 44) | pub(crate) async fn get( function post (line 99) | pub(crate) async fn post( FILE: crates/handlers/src/views/register/steps/verify_email.rs type CodeForm (line 29) | pub struct CodeForm { type Field (line 34) | type Field = mas_templates::RegisterStepsVerifyEmailFormField; function get (line 42) | pub(crate) async fn get( function post (line 111) | pub(crate) async fn post( FILE: crates/handlers/src/views/shared.rs type OptionalPostAuthAction (line 23) | pub(crate) struct OptionalPostAuthAction { method from (line 29) | fn from(post_auth_action: Option) -> Self { method go_next_or_default (line 35) | pub fn go_next_or_default( method go_next (line 46) | pub fn go_next(&self, url_builder: &UrlBuilder) -> axum::response::Red... method load_context (line 50) | pub async fn load_context<'a>( type LoginHint (line 114) | pub enum LoginHint<'a> { type QueryLoginHint (line 121) | pub(crate) struct QueryLoginHint { method parse_login_hint (line 133) | pub fn parse_login_hint(&self, homeserver: &str) -> LoginHint<'_> { function no_login_hint (line 156) | fn no_login_hint() { function valid_login_hint (line 165) | fn valid_login_hint() { function valid_login_hint_with_email (line 176) | fn valid_login_hint_with_email() { function invalid_login_hint (line 187) | fn invalid_login_hint() { function valid_login_hint_for_wrong_homeserver (line 198) | fn valid_login_hint_for_wrong_homeserver() { function unknown_login_hint_type (line 209) | fn unknown_login_hint_type() { FILE: crates/http/src/ext.rs function set_propagator (line 20) | pub fn set_propagator(propagator: &dyn opentelemetry::propagation::TextM... type CorsLayerExt (line 35) | pub trait CorsLayerExt { method allow_otel_headers (line 37) | fn allow_otel_headers(self, headers: H) -> Self method allow_otel_headers (line 43) | fn allow_otel_headers(self, headers: H) -> Self FILE: crates/http/src/reqwest.rs type TracingResolver (line 58) | struct TracingResolver { method new (line 63) | fn new() -> Self { method resolve (line 70) | fn resolve(&self, name: reqwest::dns::Name) -> reqwest::dns::Resolving { function client (line 92) | pub fn client() -> reqwest::Client { function send_traced (line 111) | async fn send_traced( type RequestBuilderExt (line 230) | pub trait RequestBuilderExt { method send_traced (line 232) | fn send_traced(self) -> impl Future impl Future Self { method set_current_file (line 25) | pub fn set_current_file(&mut self, file: &str) { method record (line 29) | pub fn record(&mut self, key: Key) { method func (line 33) | pub fn func(&self) -> &str { method add_missing (line 37) | pub fn add_missing(&self, translation_tree: &mut TranslationTree) -> u... method set_key_location (line 79) | pub fn set_key_location(&self, mut key: Key, span: Span) -> Key { type Kind (line 92) | pub enum Kind { type Location (line 98) | pub struct Location { type Key (line 104) | pub struct Key { method new (line 111) | pub fn new(kind: Kind, name: String) -> Self { FILE: crates/i18n-scan/src/main.rs type Options (line 25) | struct Options { function main (line 46) | fn main() { FILE: crates/i18n-scan/src/minijinja.rs function find_in_stmt (line 15) | pub fn find_in_stmt<'a>(context: &mut Context, stmt: &'a Stmt<'a>) -> Re... function as_const (line 93) | fn as_const<'a>(call_arg: &'a CallArg<'a>) -> Option<&'a Const> { function find_in_macro (line 100) | fn find_in_macro<'a>(context: &mut Context, macro_: &'a Macro<'a>) -> Re... function find_in_call (line 108) | fn find_in_call<'a>( function find_in_call_args (line 151) | fn find_in_call_args<'a>( function find_in_call_arg (line 162) | fn find_in_call_arg<'a>( function find_in_stmts (line 174) | fn find_in_stmts<'a>(context: &mut Context, stmts: &'a [Stmt<'a>]) -> Re... function find_in_expr (line 182) | fn find_in_expr<'a>(context: &mut Context, expr: &'a Expr<'a>) -> Result... function find_in_exprs (line 234) | fn find_in_exprs<'a>(context: &mut Context, exprs: &'a [Expr<'a>]) -> Re... function find_in_optional_expr (line 242) | fn find_in_optional_expr<'a>( function test_find_keys (line 260) | fn test_find_keys() { function test_invalid_key_not_string (line 336) | fn test_invalid_key_not_string() { function test_invalid_key_filtered (line 352) | fn test_invalid_key_filtered() { function test_invalid_key_missing (line 368) | fn test_invalid_key_missing() { function test_invalid_key_negated (line 384) | fn test_invalid_key_negated() { FILE: crates/i18n/src/sprintf/argument.rs type List (line 13) | pub struct List { method get_by_index (line 21) | pub fn get_by_index(&self, index: usize) -> Option<&Value> { method get_by_name (line 27) | pub fn get_by_name(&self, name: &str) -> Option<&Value> { method from_iter (line 35) | fn from_iter>(iter: T) -> Self { type Argument (line 56) | pub struct Argument { method from (line 62) | fn from(value: Value) -> Self { method from (line 68) | fn from((name, value): (&str, Value)) -> Self { method from (line 77) | fn from((name, value): (String, Value)) -> Self { method named (line 88) | pub fn named(name: String, value: Value) -> Self { method with_name (line 97) | pub fn with_name(mut self, name: String) -> Self { function test_argument_list (line 110) | fn test_argument_list() { FILE: crates/i18n/src/sprintf/formatter.rs type ValueType (line 125) | pub enum ValueType { method of_value (line 136) | fn of_value(value: &Value) -> Self { type FormatError (line 149) | pub enum FormatError { function find_value (line 178) | fn find_value<'a>( function to_precision (line 199) | fn to_precision(number: f64, mut placeholder: Placeholder) -> String { function format_value (line 230) | fn format_value(value: &Value, placeholder: &Placeholder) -> Result { function len (line 487) | fn len(&self) -> usize { function fmt (line 496) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type FormattedMessage (line 504) | pub struct FormattedMessage<'a> { function len (line 512) | pub fn len(&self) -> usize { function is_empty (line 518) | pub fn is_empty(&self) -> bool { function parts (line 524) | pub fn parts(&self) -> &[FormattedMessagePart<'_>] { function fmt (line 530) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method format (line 545) | pub fn format(&self, arguments: &ArgumentList) -> Result Result bool { method fmt (line 82) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ArgumentReference (line 106) | pub enum ArgumentReference { method fmt (line 112) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type PaddingSpecifier (line 121) | pub enum PaddingSpecifier { method fmt (line 127) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method char (line 136) | pub fn char(self) -> char { method is_zero (line 143) | pub const fn is_zero(self) -> bool { type Placeholder (line 152) | pub struct Placeholder { method padding_specifier_is_zero (line 163) | pub fn padding_specifier_is_zero(&self) -> bool { method numeric_width (line 169) | pub fn numeric_width(&self) -> Option { method fmt (line 176) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Message (line 207) | pub struct Message { method fmt (line 212) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from_iter (line 221) | fn from_iter>(iter: T) -> Self { method parts (line 229) | pub(crate) fn parts(&self) -> std::slice::Iter<'_, Part> { method from_literal (line 235) | pub fn from_literal(literal: String) -> Message { method deserialize (line 250) | fn deserialize>(deserializer: D) -> Result... method serialize (line 243) | fn serialize(&self, serializer: S) -> Result Self { method from (line 270) | fn from(text: String) -> Self { method fmt (line 276) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: crates/i18n/src/sprintf/mod.rs type Error (line 76) | enum Error { method from (line 82) | fn from(err: self::parser::Error) -> Self { function test_sprintf (line 92) | fn test_sprintf() { function test_complex (line 150) | fn test_complex() { FILE: crates/i18n/src/sprintf/parser.rs type SprintfParser (line 19) | struct SprintfParser; type Error (line 21) | pub type Error = pest::error::Error; type Result (line 22) | type Result = std::result::Result; function unexpected_rule_error (line 24) | fn unexpected_rule_error(pair: &Pair) -> Error { function ensure_end_of_pairs (line 33) | fn ensure_end_of_pairs(pairs: &mut pest::iterators::Pairs, span: S... function next_pair (line 46) | fn next_pair<'i>( function ensure_rule_type (line 60) | fn ensure_rule_type(pair: &Pair, rule: Rule) -> Result<()> { function interpret_ident (line 68) | fn interpret_ident(pair: &Pair) -> Result { function interpret_number (line 73) | fn interpret_number(pair: &Pair) -> Result { function interpret_arg_named (line 85) | fn interpret_arg_named(pair: Pair) -> Result { function interpret_arg_indexed (line 97) | fn interpret_arg_indexed(pair: Pair) -> Result { function interpret_padding_specifier (line 109) | fn interpret_padding_specifier(pair: &Pair) -> Result) -> Result { function interpret_precision (line 141) | fn interpret_precision(pair: Pair) -> Result { function interpret_type_specifier (line 153) | fn interpret_type_specifier(pair: &Pair) -> Result { function interpret_placeholder (line 187) | fn interpret_placeholder(pair: Pair) -> Result { type Err (line 259) | type Err = Error; method from_str (line 261) | fn from_str(input: &str) -> Result { function test_parser (line 280) | fn test_parser() { FILE: crates/i18n/src/translations.rs function plural_category_as_str (line 21) | fn plural_category_as_str(category: PluralCategory) -> &'static str { type TranslationTree (line 32) | pub type TranslationTree = Tree; type Metadata (line 35) | pub struct Metadata { method add_location (line 70) | fn add_location(&mut self, location: String) { method serialize (line 44) | fn serialize(&self, serializer: S) -> Result type Tree (line 76) | pub struct Tree { method deserialize (line 94) | fn deserialize(deserializer: D) -> Result method message (line 167) | pub fn message(&self, key: &str) -> Option<&Message> { method pluralize (line 180) | pub fn pluralize(&self, key: &str, category: PluralCategory) -> Option... method set_if_not_defined (line 201) | pub fn set_if_not_defined, I: IntoIterator, I: IntoIterator>( method walk_path_inner (line 274) | fn walk_path_inner, I: Iterator>( type Node (line 81) | pub struct Node { type Value (line 88) | pub enum Value { method as_message (line 292) | fn as_message(&self) -> Option<&Message> { method serialize (line 145) | fn serialize(&self, serializer: S) -> Result function test_it_works (line 306) | fn test_it_works() { FILE: crates/i18n/src/translator.rs constant DATA_KEY (line 29) | const DATA_KEY: DataKey = data_key!("mas/translations@1"); constant FALLBACKER (line 31) | const FALLBACKER: LocaleFallbackerWithConfig<'static> = LocaleFallbacker... function data_request_for_locale (line 39) | pub fn data_request_for_locale(locale: &DataLocale) -> DataRequest<'_> { type LoadError (line 47) | pub enum LoadError { type Translator (line 82) | pub struct Translator { method new (line 91) | pub fn new(translations: HashMap) -> Self { method load_from_path (line 119) | pub fn load_from_path(path: &Utf8Path) -> Result { method message_with_fallback (line 170) | pub fn message_with_fallback( method message (line 209) | pub fn message(&self, locale: &DataLocale, key: &str) -> Result<&Messa... method plural_with_fallback (line 235) | pub fn plural_with_fallback( method plural (line 271) | pub fn plural( method relative_date (line 305) | pub fn relative_date( method short_time (line 332) | pub fn short_time( method available_locales (line 348) | pub fn available_locales(&self) -> Vec { method has_locale (line 354) | pub fn has_locale(&self, locale: &DataLocale) -> bool { method choose_locale (line 360) | pub fn choose_locale(&self, iter: impl Iterator) ->... function translator (line 391) | fn translator() -> Translator { function test_message (line 398) | fn test_message() { function test_plurals (line 428) | fn test_plurals() { FILE: crates/iana-codegen/src/generation.rs function raw_string (line 9) | fn raw_string(string: &str) -> String { function struct_def (line 17) | pub fn struct_def( function display_impl (line 67) | pub fn display_impl( function from_str_impl (line 107) | pub fn from_str_impl( function json_schema_impl (line 160) | pub fn json_schema_impl( function serde_impl (line 220) | pub fn serde_impl(f: &mut std::fmt::Formatter<'_>, section: &Section) ->... FILE: crates/iana-codegen/src/jose.rs type Usage (line 15) | enum Usage { type Requirements (line 25) | enum Requirements { type WebEncryptionSignatureAlgorithm (line 39) | pub struct WebEncryptionSignatureAlgorithm { constant URL (line 57) | const URL: &'static str = constant SECTIONS (line 59) | const SECTIONS: &'static [Section] = &[ method key (line 74) | fn key(&self) -> Option<&'static str> { method name (line 106) | fn name(&self) -> &str { method description (line 110) | fn description(&self) -> Option<&str> { type WebEncryptionCompressionAlgorithm (line 117) | pub struct WebEncryptionCompressionAlgorithm { constant URL (line 129) | const URL: &'static str = constant SECTIONS (line 131) | const SECTIONS: &'static [Section] = &[s( method key (line 136) | fn key(&self) -> Option<&'static str> { method name (line 140) | fn name(&self) -> &str { method description (line 144) | fn description(&self) -> Option<&str> { type WebKeyType (line 151) | pub struct WebKeyType { constant URL (line 165) | const URL: &'static str = "http://www.iana.org/assignments/jose/web-key-... constant SECTIONS (line 166) | const SECTIONS: &'static [Section] = &[s("JsonWebKeyType", "JSON Web Key... method key (line 168) | fn key(&self) -> Option<&'static str> { method name (line 172) | fn name(&self) -> &str { method description (line 176) | fn description(&self) -> Option<&str> { type WebKeyEllipticCurve (line 183) | pub struct WebKeyEllipticCurve { constant URL (line 197) | const URL: &'static str = "http://www.iana.org/assignments/jose/web-key-... constant SECTIONS (line 198) | const SECTIONS: &'static [Section] = &[ method key (line 209) | fn key(&self) -> Option<&'static str> { method name (line 217) | fn name(&self) -> &str { method description (line 221) | fn description(&self) -> Option<&str> { type WebKeyUse (line 228) | pub struct WebKeyUse { constant URL (line 240) | const URL: &'static str = "http://www.iana.org/assignments/jose/web-key-... constant SECTIONS (line 241) | const SECTIONS: &'static [Section] = &[s("JsonWebKeyUse", "JSON Web Key ... method key (line 243) | fn key(&self) -> Option<&'static str> { method name (line 247) | fn name(&self) -> &str { method description (line 251) | fn description(&self) -> Option<&str> { type WebKeyOperation (line 258) | pub struct WebKeyOperation { constant URL (line 270) | const URL: &'static str = "http://www.iana.org/assignments/jose/web-key-... constant SECTIONS (line 271) | const SECTIONS: &'static [Section] = &[s("JsonWebKeyOperation", "JSON We... method key (line 273) | fn key(&self) -> Option<&'static str> { method name (line 277) | fn name(&self) -> &str { method description (line 281) | fn description(&self) -> Option<&str> { FILE: crates/iana-codegen/src/main.rs type File (line 20) | struct File { method new (line 36) | fn new(registry_name: &'static str, registry_url: &'static str, client... method load (line 48) | async fn load(mut self) -> anyhow::Result { method write (line 58) | async fn write(&self, path: impl AsRef) -> anyhow::Result<()> { function resolve_path (line 28) | fn resolve_path(relative: impl AsRef) -> Utf8PathBuf { method fmt (line 74) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function generate_jose (line 126) | async fn generate_jose( function generate_oauth (line 157) | async fn generate_oauth( function main (line 186) | async fn main() -> anyhow::Result<()> { FILE: crates/iana-codegen/src/oauth.rs type AccessTokenType (line 16) | pub struct AccessTokenType { constant URL (line 30) | const URL: &'static str = "http://www.iana.org/assignments/oauth-paramet... constant SECTIONS (line 31) | const SECTIONS: &'static [Section] = &[s("OAuthAccessTokenType", "OAuth ... method key (line 33) | fn key(&self) -> Option<&'static str> { method name (line 37) | fn name(&self) -> &str { type AuthorizationEndpointResponseType (line 44) | pub struct AuthorizationEndpointResponseType { constant URL (line 54) | const URL: &'static str = "http://www.iana.org/assignments/oauth-paramet... constant SECTIONS (line 55) | const SECTIONS: &'static [Section] = &[s( method key (line 60) | fn key(&self) -> Option<&'static str> { method name (line 64) | fn name(&self) -> &str { type TokenEndpointAuthenticationMethod (line 71) | pub struct TokenEndpointAuthenticationMethod { type TokenTypeHint (line 82) | pub struct TokenTypeHint { constant URL (line 92) | const URL: &'static str = constant SECTIONS (line 94) | const SECTIONS: &'static [Section] = &[s("OAuthTokenTypeHint", "OAuth To... method key (line 96) | fn key(&self) -> Option<&'static str> { method name (line 100) | fn name(&self) -> &str { constant URL (line 106) | const URL: &'static str = constant SECTIONS (line 108) | const SECTIONS: &'static [Section] = &[s( method key (line 113) | fn key(&self) -> Option<&'static str> { method name (line 117) | fn name(&self) -> &str { type PkceCodeChallengeMethod (line 124) | pub struct PkceCodeChallengeMethod { constant URL (line 134) | const URL: &'static str = constant SECTIONS (line 136) | const SECTIONS: &'static [Section] = method key (line 139) | fn key(&self) -> Option<&'static str> { method name (line 143) | fn name(&self) -> &str { FILE: crates/iana-codegen/src/traits.rs type Section (line 15) | pub struct Section { function s (line 22) | pub const fn s(key: &'static str, doc: &'static str) -> Section { type EnumMember (line 31) | pub struct EnumMember { type EnumEntry (line 38) | pub trait EnumEntry: DeserializeOwned + Send + Sync { constant URL (line 39) | const URL: &'static str; constant SECTIONS (line 40) | const SECTIONS: &'static [Section]; method sections (line 43) | fn sections() -> Vec
{ method key (line 53) | fn key(&self) -> Option<&'static str>; method name (line 54) | fn name(&self) -> &str; method description (line 55) | fn description(&self) -> Option<&str> { method enum_name (line 58) | fn enum_name(&self) -> String { method fetch (line 66) | async fn fetch(client: &Client) -> anyhow::Result) -> core::fmt::Result { type Err (line 101) | type Err = core::convert::Infallible; method from_str (line 103) | fn from_str(s: &str) -> Result { method deserialize (line 128) | fn deserialize(deserializer: D) -> Result method serialize (line 138) | fn serialize(&self, serializer: S) -> Result method schema_name (line 147) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 152) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebEncryptionAlg (line 254) | pub enum JsonWebEncryptionAlg { method fmt (line 317) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 344) | type Err = core::convert::Infallible; method from_str (line 346) | fn from_str(s: &str) -> Result { method deserialize (line 373) | fn deserialize(deserializer: D) -> Result method serialize (line 383) | fn serialize(&self, serializer: S) -> Result method schema_name (line 392) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 397) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebEncryptionEnc (line 509) | pub enum JsonWebEncryptionEnc { method fmt (line 533) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 547) | type Err = core::convert::Infallible; method from_str (line 549) | fn from_str(s: &str) -> Result { method deserialize (line 563) | fn deserialize(deserializer: D) -> Result method serialize (line 573) | fn serialize(&self, serializer: S) -> Result method schema_name (line 582) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 587) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebEncryptionCompressionAlgorithm (line 634) | pub enum JsonWebEncryptionCompressionAlgorithm { method fmt (line 643) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 652) | type Err = core::convert::Infallible; method from_str (line 654) | fn from_str(s: &str) -> Result { method deserialize (line 663) | fn deserialize(deserializer: D) -> Result method serialize (line 673) | fn serialize(&self, serializer: S) -> Result method schema_name (line 682) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 687) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebKeyType (line 709) | pub enum JsonWebKeyType { method fmt (line 727) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 739) | type Err = core::convert::Infallible; method from_str (line 741) | fn from_str(s: &str) -> Result { method deserialize (line 753) | fn deserialize(deserializer: D) -> Result method serialize (line 763) | fn serialize(&self, serializer: S) -> Result method schema_name (line 772) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 777) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebKeyEcEllipticCurve (line 814) | pub enum JsonWebKeyEcEllipticCurve { method fmt (line 832) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 844) | type Err = core::convert::Infallible; method from_str (line 846) | fn from_str(s: &str) -> Result { method deserialize (line 858) | fn deserialize(deserializer: D) -> Result method serialize (line 868) | fn serialize(&self, serializer: S) -> Result method schema_name (line 877) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 882) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebKeyOkpEllipticCurve (line 919) | pub enum JsonWebKeyOkpEllipticCurve { method fmt (line 937) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 949) | type Err = core::convert::Infallible; method from_str (line 951) | fn from_str(s: &str) -> Result { method deserialize (line 963) | fn deserialize(deserializer: D) -> Result method serialize (line 973) | fn serialize(&self, serializer: S) -> Result method schema_name (line 982) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 987) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebKeyUse (line 1024) | pub enum JsonWebKeyUse { method fmt (line 1036) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 1046) | type Err = core::convert::Infallible; method from_str (line 1048) | fn from_str(s: &str) -> Result { method deserialize (line 1058) | fn deserialize(deserializer: D) -> Result method serialize (line 1068) | fn serialize(&self, serializer: S) -> Result method schema_name (line 1077) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 1082) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type JsonWebKeyOperation (line 1109) | pub enum JsonWebKeyOperation { method fmt (line 1139) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 1155) | type Err = core::convert::Infallible; method from_str (line 1157) | fn from_str(s: &str) -> Result { method deserialize (line 1173) | fn deserialize(deserializer: D) -> Result method serialize (line 1183) | fn serialize(&self, serializer: S) -> Result method schema_name (line 1192) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 1197) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... FILE: crates/iana/src/lib.rs type ParseError (line 16) | pub struct ParseError { method new (line 21) | fn new() -> Self { method fmt (line 27) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method fmt (line 33) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { FILE: crates/iana/src/oauth.rs type OAuthAccessTokenType (line 19) | pub enum OAuthAccessTokenType { method fmt (line 37) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 49) | type Err = core::convert::Infallible; method from_str (line 51) | fn from_str(s: &str) -> Result { method deserialize (line 63) | fn deserialize(deserializer: D) -> Result method serialize (line 73) | fn serialize(&self, serializer: S) -> Result method schema_name (line 82) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 87) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type OAuthAuthorizationEndpointResponseType (line 119) | pub enum OAuthAuthorizationEndpointResponseType { method fmt (line 146) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 161) | type Err = crate::ParseError; method from_str (line 163) | fn from_str(s: &str) -> Result { method deserialize (line 179) | fn deserialize(deserializer: D) -> Result method serialize (line 189) | fn serialize(&self, serializer: S) -> Result method schema_name (line 198) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 203) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type OAuthTokenTypeHint (line 252) | pub enum OAuthTokenTypeHint { method fmt (line 267) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 278) | type Err = core::convert::Infallible; method from_str (line 280) | fn from_str(s: &str) -> Result { method deserialize (line 291) | fn deserialize(deserializer: D) -> Result method serialize (line 301) | fn serialize(&self, serializer: S) -> Result method schema_name (line 310) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 315) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type OAuthClientAuthenticationMethod (line 344) | pub enum OAuthClientAuthenticationMethod { method fmt (line 371) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 386) | type Err = core::convert::Infallible; method from_str (line 388) | fn from_str(s: &str) -> Result { method deserialize (line 403) | fn deserialize(deserializer: D) -> Result method serialize (line 413) | fn serialize(&self, serializer: S) -> Result method schema_name (line 422) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 427) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... type PkceCodeChallengeMethod (line 472) | pub enum PkceCodeChallengeMethod { method fmt (line 484) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 494) | type Err = core::convert::Infallible; method from_str (line 496) | fn from_str(s: &str) -> Result { method deserialize (line 506) | fn deserialize(deserializer: D) -> Result method serialize (line 516) | fn serialize(&self, serializer: S) -> Result method schema_name (line 525) | fn schema_name() -> std::borrow::Cow<'static, str> { method json_schema (line 530) | fn json_schema(_gen: &mut schemars::SchemaGenerator) -> schemars::Sche... FILE: crates/jose/src/base64.rs type Base64 (line 20) | pub struct Base64 { type Base64UrlNoPad (line 26) | pub type Base64UrlNoPad = Base64; function new (line 32) | pub fn new(bytes: Vec) -> Self { function as_bytes (line 41) | pub fn as_bytes(&self) -> &[u8] { function encode (line 47) | pub fn encode(&self) -> String { function into_inner (line 53) | pub fn into_inner(self) -> Vec { function empty (line 59) | pub fn empty() -> Self { function parse (line 68) | pub fn parse(encoded: &str) -> Result { function fmt (line 74) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function fmt (line 80) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function deserialize (line 86) | fn deserialize(deserializer: D) -> Result method serialize (line 96) | fn serialize(&self, serializer: S) -> Result function deserialize_cow_str (line 108) | pub fn deserialize_cow_str<'de, D>(deserializer: D) -> Result; method expecting (line 120) | fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::f... method visit_borrowed_str (line 124) | fn visit_borrowed_str(self, v: &'de str) -> Result method visit_borrowed_bytes (line 131) | fn visit_borrowed_bytes(self, v: &'de [u8]) -> Result method visit_str (line 141) | fn visit_str(self, v: &str) -> Result method visit_string (line 148) | fn visit_string(self, v: String) -> Result method visit_bytes (line 155) | fn visit_bytes(self, v: &[u8]) -> Result method visit_byte_buf (line 165) | fn visit_byte_buf(self, v: Vec) -> Result FILE: crates/jose/src/claims.rs type ClaimError (line 16) | pub enum ClaimError { type Validator (line 31) | pub trait Validator { method validate (line 40) | fn validate(&self, value: &T) -> Result<(), Self::Error>; type Error (line 44) | type Error = Infallible; function validate (line 46) | fn validate(&self, _value: &T) -> Result<(), Self::Error> { type Claim (line 51) | pub struct Claim { function new (line 62) | pub const fn new(claim: &'static str) -> Self { function insert (line 75) | pub fn insert( function extract_required (line 98) | pub fn extract_required( function extract_required_with_options (line 117) | pub fn extract_required_with_options( function extract_optional (line 149) | pub fn extract_optional( function extract_optional_with_options (line 169) | pub fn extract_optional_with_options( function assert_absent (line 191) | pub fn assert_absent( type TimeOptions (line 204) | pub struct TimeOptions { method new (line 211) | pub fn new(when: chrono::DateTime) -> Self { method leeway (line 219) | pub fn leeway(mut self, leeway: chrono::Duration) -> Self { type TimeTooFarError (line 227) | pub struct TimeTooFarError; type TimeNotAfter (line 230) | pub struct TimeNotAfter(TimeOptions); type Error (line 233) | type Error = TimeTooFarError; method validate (line 234) | fn validate(&self, value: &Timestamp) -> Result<(), Self::Error> { method from (line 244) | fn from(opt: TimeOptions) -> Self { method from (line 250) | fn from(opt: &TimeOptions) -> Self { type TimeNotBefore (line 256) | pub struct TimeNotBefore(TimeOptions); type Error (line 259) | type Error = TimeTooFarError; method validate (line 261) | fn validate(&self, value: &Timestamp) -> Result<(), Self::Error> { method from (line 271) | fn from(opt: TimeOptions) -> Self { method from (line 277) | fn from(opt: &TimeOptions) -> Self { function hash_token (line 291) | pub fn hash_token(alg: &JsonWebSignatureAlg, token: &str) -> Result { function new (line 348) | pub fn new(alg: &'a JsonWebSignatureAlg, token: &'a str) -> Self { type Error (line 354) | type Error = TokenHashError; function validate (line 355) | fn validate(&self, value: &String) -> Result<(), Self::Error> { type EqualityError (line 366) | pub struct EqualityError; type Equality (line 369) | pub struct Equality<'a, T: ?Sized> { function new (line 376) | pub fn new(value: &'a T) -> Self { type Error (line 385) | type Error = EqualityError; function validate (line 386) | fn validate(&self, value: &T1) -> Result<(), Self::Error> { function from (line 396) | fn from(value: &'a T) -> Self { type Contains (line 402) | pub struct Contains<'a, T> { function new (line 409) | pub fn new(value: &'a T) -> Self { type ContainsError (line 416) | pub struct ContainsError; type Error (line 422) | type Error = ContainsError; function validate (line 423) | fn validate(&self, value: &OneOrMany) -> Result<(), Self::Error> { function from (line 433) | fn from(value: &'a T) -> Self { type Timestamp (line 440) | pub struct Timestamp(#[serde(with = "chrono::serde::ts_seconds")] chrono... method from (line 451) | fn from(value: chrono::DateTime) -> Self { type Target (line 443) | type Target = chrono::DateTime; method deref (line 445) | fn deref(&self) -> &Self::Target { type OneOrMany (line 461) | pub struct OneOrMany( type Target (line 472) | type Target = Vec; method deref (line 474) | fn deref(&self) -> &Self::Target { function from (line 480) | fn from(value: Vec) -> Self { function from (line 486) | fn from(value: T) -> Self { constant ISS (line 496) | pub const ISS: Claim> = Claim::new("iss"); constant SUB (line 497) | pub const SUB: Claim = Claim::new("sub"); constant AUD (line 498) | pub const AUD: Claim, Contains> = Claim::new("... constant NBF (line 499) | pub const NBF: Claim = Claim::new("nbf"); constant EXP (line 500) | pub const EXP: Claim = Claim::new("exp"); constant IAT (line 501) | pub const IAT: Claim = Claim::new("iat"); constant JTI (line 502) | pub const JTI: Claim = Claim::new("jti"); constant AUTH_TIME (line 513) | pub const AUTH_TIME: Claim = Claim::new("auth_time"); constant NONCE (line 514) | pub const NONCE: Claim> = Claim::new("nonce"); constant AT_HASH (line 515) | pub const AT_HASH: Claim = Claim::new("at_hash"); constant C_HASH (line 516) | pub const C_HASH: Claim = Claim::new("c_hash"); constant NAME (line 518) | pub const NAME: Claim = Claim::new("name"); constant GIVEN_NAME (line 519) | pub const GIVEN_NAME: Claim = Claim::new("given_name"); constant FAMILY_NAME (line 520) | pub const FAMILY_NAME: Claim = Claim::new("family_name"); constant MIDDLE_NAME (line 521) | pub const MIDDLE_NAME: Claim = Claim::new("middle_name"); constant NICKNAME (line 522) | pub const NICKNAME: Claim = Claim::new("nickname"); constant PREFERRED_USERNAME (line 523) | pub const PREFERRED_USERNAME: Claim = Claim::new("preferred_user... constant PROFILE (line 524) | pub const PROFILE: Claim = Claim::new("profile"); constant PICTURE (line 525) | pub const PICTURE: Claim = Claim::new("picture"); constant WEBSITE (line 526) | pub const WEBSITE: Claim = Claim::new("website"); constant EMAIL (line 528) | pub const EMAIL: Claim = Claim::new("email"); constant EMAIL_VERIFIED (line 529) | pub const EMAIL_VERIFIED: Claim = Claim::new("email_verified"); constant GENDER (line 530) | pub const GENDER: Claim = Claim::new("gender"); constant BIRTHDATE (line 532) | pub const BIRTHDATE: Claim = Claim::new("birthdate"); constant ZONEINFO (line 534) | pub const ZONEINFO: Claim = Claim::new("zoneinfo"); constant LOCALE (line 536) | pub const LOCALE: Claim = Claim::new("locale"); constant PHONE_NUMBER (line 538) | pub const PHONE_NUMBER: Claim = Claim::new("phone_number"); constant PHONE_NUMBER_VERIFIED (line 539) | pub const PHONE_NUMBER_VERIFIED: Claim = Claim::new("phone_number_... constant UPDATED_AT (line 541) | pub const UPDATED_AT: Claim = Claim::new("updated_at"); constant SID (line 549) | pub const SID: Claim = Claim::new("sid"); function timestamp_serde (line 561) | fn timestamp_serde() { function one_or_many_serde (line 574) | fn one_or_many_serde() { function extract_claims (line 601) | fn extract_claims() { function time_validation (line 649) | fn time_validation() { function invalid_claims (line 770) | fn invalid_claims() { function missing_claims (line 818) | fn missing_claims() { function string_eq_validation (line 847) | fn string_eq_validation() { function contains_validation (line 864) | fn contains_validation() { FILE: crates/jose/src/constraints.rs type Constraint (line 14) | pub enum Constraint<'a> { function alg (line 38) | pub fn alg(constraint_alg: &'a JsonWebSignatureAlg) -> Self { function algs (line 43) | pub fn algs(constraint_algs: &'a [JsonWebSignatureAlg]) -> Self { function kid (line 48) | pub fn kid(constraint_kid: &'a str) -> Self { function use_ (line 53) | pub fn use_(constraint_use: &'a JsonWebKeyUse) -> Self { function kty (line 58) | pub fn kty(constraint_kty: &'a JsonWebKeyType) -> Self { type ConstraintDecision (line 64) | pub enum ConstraintDecision { type Constrainable (line 70) | pub trait Constrainable { method alg (line 71) | fn alg(&self) -> Option<&JsonWebSignatureAlg> { method algs (line 76) | fn algs(&self) -> &[JsonWebSignatureAlg] { method kid (line 81) | fn kid(&self) -> Option<&str> { method use_ (line 86) | fn use_(&self) -> Option<&JsonWebKeyUse> { method kty (line 91) | fn kty(&self) -> JsonWebKeyType; function decide (line 95) | fn decide(&self, constrainable: &T) -> ConstraintDecis... type ConstraintSet (line 164) | pub struct ConstraintSet<'a> { function from_iter (line 169) | fn from_iter>>(iter: T) -> Self { function new (line 178) | pub fn new(constraints: impl IntoIterator>) -> Self { function filter (line 182) | pub fn filter<'b, T: Constrainable, I: IntoIterator>( function alg (line 212) | pub fn alg(mut self, constraint_alg: &'a JsonWebSignatureAlg) -> Self { function algs (line 218) | pub fn algs(mut self, constraint_algs: &'a [JsonWebSignatureAlg]) -> Self { function kid (line 224) | pub fn kid(mut self, constraint_kid: &'a str) -> Self { function use_ (line 230) | pub fn use_(mut self, constraint_use: &'a JsonWebKeyUse) -> Self { function kty (line 236) | pub fn kty(mut self, constraint_kty: &'a JsonWebKeyType) -> Self { function from (line 243) | fn from(header: &'a JsonWebSignatureHeader) -> Self { FILE: crates/jose/src/jwa/asymmetric.rs type AsymmetricKeyFromJwkError (line 17) | pub enum AsymmetricKeyFromJwkError { type AsymmetricSigningKey (line 39) | pub enum AsymmetricSigningKey { method rs256 (line 55) | pub fn rs256(key: rsa::RsaPrivateKey) -> Self { method rs384 (line 62) | pub fn rs384(key: rsa::RsaPrivateKey) -> Self { method rs512 (line 69) | pub fn rs512(key: rsa::RsaPrivateKey) -> Self { method ps256 (line 76) | pub fn ps256(key: rsa::RsaPrivateKey) -> Self { method ps384 (line 86) | pub fn ps384(key: rsa::RsaPrivateKey) -> Self { method ps512 (line 96) | pub fn ps512(key: rsa::RsaPrivateKey) -> Self { method es256 (line 106) | pub fn es256(key: elliptic_curve::SecretKey) -> Self { method es384 (line 113) | pub fn es384(key: elliptic_curve::SecretKey) -> Self { method es256k (line 120) | pub fn es256k(key: elliptic_curve::SecretKey) -> Self { method from_jwk_and_alg (line 131) | pub fn from_jwk_and_alg( method from (line 180) | fn from(key: super::Rs256SigningKey) -> Self { method from (line 186) | fn from(key: super::Rs384SigningKey) -> Self { method from (line 192) | fn from(key: super::Rs512SigningKey) -> Self { method from (line 198) | fn from(key: super::Ps256SigningKey) -> Self { method from (line 204) | fn from(key: super::Ps384SigningKey) -> Self { method from (line 210) | fn from(key: super::Ps512SigningKey) -> Self { method from (line 216) | fn from(key: super::Es256SigningKey) -> Self { method from (line 222) | fn from(key: super::Es384SigningKey) -> Self { method from (line 228) | fn from(key: super::Es256KSigningKey) -> Self { method try_sign_with_rng (line 234) | fn try_sign_with_rng( type AsymmetricVerifyingKey (line 282) | pub enum AsymmetricVerifyingKey { method rs256 (line 298) | pub fn rs256(key: rsa::RsaPublicKey) -> Self { method rs384 (line 305) | pub fn rs384(key: rsa::RsaPublicKey) -> Self { method rs512 (line 312) | pub fn rs512(key: rsa::RsaPublicKey) -> Self { method ps256 (line 319) | pub fn ps256(key: rsa::RsaPublicKey) -> Self { method ps384 (line 326) | pub fn ps384(key: rsa::RsaPublicKey) -> Self { method ps512 (line 333) | pub fn ps512(key: rsa::RsaPublicKey) -> Self { method es256 (line 340) | pub fn es256(key: elliptic_curve::PublicKey) -> Self { method es384 (line 347) | pub fn es384(key: elliptic_curve::PublicKey) -> Self { method es256k (line 354) | pub fn es256k(key: elliptic_curve::PublicKey) -> Self { method from_jwk_and_alg (line 365) | pub fn from_jwk_and_alg( method from (line 414) | fn from(key: super::Rs256VerifyingKey) -> Self { method from (line 420) | fn from(key: super::Rs384VerifyingKey) -> Self { method from (line 426) | fn from(key: super::Rs512VerifyingKey) -> Self { method from (line 432) | fn from(key: super::Ps256VerifyingKey) -> Self { method from (line 438) | fn from(key: super::Ps384VerifyingKey) -> Self { method from (line 444) | fn from(key: super::Ps512VerifyingKey) -> Self { method from (line 450) | fn from(key: super::Es256VerifyingKey) -> Self { method from (line 456) | fn from(key: super::Es384VerifyingKey) -> Self { method from (line 462) | fn from(key: super::Es256KVerifyingKey) -> Self { method verify (line 468) | fn verify(&self, msg: &[u8], signature: &Signature) -> Result<(), ecds... FILE: crates/jose/src/jwa/hmac.rs type Signature (line 17) | pub struct Signature> { method eq (line 22) | fn eq(&self, other: &Self) -> bool { function fmt (line 30) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 36) | fn clone(&self) -> Self { function from (line 44) | fn from(val: Signature) -> Self { type Error (line 50) | type Error = InvalidLength; function try_from (line 52) | fn try_from(value: &'a [u8]) -> Result { type Repr (line 63) | type Repr = GenericArray; function as_ref (line 67) | fn as_ref(&self) -> &[u8] { type Hmac (line 72) | pub struct Hmac { function new (line 78) | pub const fn new(key: Vec) -> Self { type InvalidLength (line 88) | pub struct InvalidLength; function from (line 91) | fn from(key: Vec) -> Self { function try_sign (line 102) | fn try_sign( function verify (line 118) | fn verify( FILE: crates/jose/src/jwa/mod.rs type Hs256Key (line 20) | pub type Hs256Key = self::hmac::Hmac; type Hs384Key (line 21) | pub type Hs384Key = self::hmac::Hmac; type Hs512Key (line 22) | pub type Hs512Key = self::hmac::Hmac; type Rs256SigningKey (line 24) | pub type Rs256SigningKey = rsa::pkcs1v15::SigningKey; type Rs256VerifyingKey (line 25) | pub type Rs256VerifyingKey = rsa::pkcs1v15::VerifyingKey; type Rs384SigningKey (line 26) | pub type Rs384SigningKey = rsa::pkcs1v15::SigningKey; type Rs384VerifyingKey (line 27) | pub type Rs384VerifyingKey = rsa::pkcs1v15::VerifyingKey; type Rs512SigningKey (line 28) | pub type Rs512SigningKey = rsa::pkcs1v15::SigningKey; type Rs512VerifyingKey (line 29) | pub type Rs512VerifyingKey = rsa::pkcs1v15::VerifyingKey; type Ps256SigningKey (line 31) | pub type Ps256SigningKey = rsa::pss::SigningKey; type Ps256VerifyingKey (line 32) | pub type Ps256VerifyingKey = rsa::pss::VerifyingKey; type Ps384SigningKey (line 33) | pub type Ps384SigningKey = rsa::pss::SigningKey; type Ps384VerifyingKey (line 34) | pub type Ps384VerifyingKey = rsa::pss::VerifyingKey; type Ps512SigningKey (line 35) | pub type Ps512SigningKey = rsa::pss::SigningKey; type Ps512VerifyingKey (line 36) | pub type Ps512VerifyingKey = rsa::pss::VerifyingKey; type Es256SigningKey (line 38) | pub type Es256SigningKey = ecdsa::SigningKey; type Es256VerifyingKey (line 39) | pub type Es256VerifyingKey = ecdsa::VerifyingKey; type Es384SigningKey (line 40) | pub type Es384SigningKey = ecdsa::SigningKey; type Es384VerifyingKey (line 41) | pub type Es384VerifyingKey = ecdsa::VerifyingKey; type Es256KSigningKey (line 42) | pub type Es256KSigningKey = ecdsa::SigningKey; type Es256KVerifyingKey (line 43) | pub type Es256KVerifyingKey = ecdsa::VerifyingKey; constant SUPPORTED_SIGNING_ALGORITHMS (line 46) | pub const SUPPORTED_SIGNING_ALGORITHMS: [JsonWebSignatureAlg; 12] = [ FILE: crates/jose/src/jwa/signature.rs type Signature (line 10) | pub struct Signature { method from (line 21) | fn from(value: &'a [u8]) -> Self { type Repr (line 29) | type Repr = Box<[u8]>; method new (line 33) | pub fn new(bytes: Vec) -> Self { method from_signature (line 39) | pub fn from_signature(signature: &S) -> Self method to_signature (line 48) | pub fn to_signature(&self) -> Result function from (line 15) | fn from(val: Signature) -> Self { FILE: crates/jose/src/jwa/symmetric.rs type SymmetricKey (line 14) | pub enum SymmetricKey { method new_for_alg (line 33) | pub fn new_for_alg(key: Vec, alg: &JsonWebSignatureAlg) -> Result<... method hs256 (line 47) | pub const fn hs256(key: Vec) -> Self { method hs384 (line 53) | pub const fn hs384(key: Vec) -> Self { method hs512 (line 59) | pub const fn hs512(key: Vec) -> Self { method from (line 65) | fn from(key: super::Hs256Key) -> Self { method from (line 71) | fn from(key: super::Hs384Key) -> Self { method from (line 77) | fn from(key: super::Hs512Key) -> Self { method try_sign_with_rng (line 83) | fn try_sign_with_rng( method try_sign (line 94) | fn try_sign(&self, msg: &[u8]) -> Result { method verify (line 113) | fn verify(&self, msg: &[u8], signature: &Signature) -> Result<(), sign... type InvalidAlgorithm (line 22) | pub struct InvalidAlgorithm { FILE: crates/jose/src/jwk/mod.rs type ParametersInfo (line 32) | pub trait ParametersInfo { method kty (line 33) | fn kty(&self) -> JsonWebKeyType; method possible_algs (line 34) | fn possible_algs(&self) -> &[JsonWebSignatureAlg]; type JwkEcCurve (line 39) | trait JwkEcCurve { constant CRV (line 40) | const CRV: JsonWebKeyEcEllipticCurve; constant CRV (line 44) | const CRV: JsonWebKeyEcEllipticCurve = JsonWebKeyEcEllipticCurve::P256; constant CRV (line 48) | const CRV: JsonWebKeyEcEllipticCurve = JsonWebKeyEcEllipticCurve::P384; constant CRV (line 52) | const CRV: JsonWebKeyEcEllipticCurve = JsonWebKeyEcEllipticCurve::Secp... type JsonWebKey (line 57) | pub struct JsonWebKey

{ type PublicJsonWebKey (line 90) | pub type PublicJsonWebKey = JsonWebKey Result { type PrivateJsonWebKey (line 91) | pub type PrivateJsonWebKey = JsonWebKey Self { function try_map (line 124) | pub fn try_map(self, mapper: M) -> Result, E> function map (line 143) | pub fn map(self, mapper: M) -> JsonWebKey function try_cloned_map (line 166) | pub fn try_cloned_map(&self, mapper: M) -> Result... function cloned_map (line 185) | pub fn cloned_map(&self, mapper: M) -> JsonWebKey function with_use (line 204) | pub fn with_use(mut self, value: JsonWebKeyUse) -> Self { function with_key_ops (line 211) | pub fn with_key_ops(mut self, key_ops: Vec) -> Self { function with_alg (line 218) | pub fn with_alg(mut self, alg: JsonWebSignatureAlg) -> Self { function with_kid (line 225) | pub fn with_kid(mut self, kid: impl Into) -> Self { function alg (line 232) | pub const fn alg(&self) -> Option<&JsonWebSignatureAlg> { function params (line 238) | pub const fn params(&self) -> &P { type Thumbprint (line 244) | pub trait Thumbprint { method thumbprint_prehashed (line 246) | fn thumbprint_prehashed(&self) -> String; method thumbprint_sha256 (line 249) | fn thumbprint_sha256(&self) -> [u8; 32] { method thumbprint_sha256_base64 (line 254) | fn thumbprint_sha256_base64(&self) -> String { method thumbprint_prehashed (line 260) | fn thumbprint_prehashed(&self) -> String { method kid (line 269) | fn kid(&self) -> Option<&str> { method kty (line 273) | fn kty(&self) -> JsonWebKeyType { method algs (line 277) | fn algs(&self) -> &[JsonWebSignatureAlg] { method alg (line 281) | fn alg(&self) -> Option<&JsonWebSignatureAlg> { method use_ (line 285) | fn use_(&self) -> Option<&JsonWebKeyUse> { type JsonWebKeySet (line 291) | pub struct JsonWebKeySet

{ method default (line 296) | fn default() -> Self { type PublicJsonWebKeySet (line 303) | pub type PublicJsonWebKeySet = JsonWebKeySet Self { type PrivateJsonWebKeySet (line 304) | pub type PrivateJsonWebKeySet = type Target (line 319) | type Target = Vec>; function deref (line 321) | fn deref(&self) -> &Self::Target { function new (line 328) | pub fn new(keys: Vec>) -> Self { function find_key (line 334) | pub fn find_key(&self, constraints: &ConstraintSet) -> Option<&JsonWebKe... function find_keys (line 343) | pub fn find_keys(&self, constraints: &ConstraintSet) -> Vec<&JsonWebKey

> function signing_key_for_algorithm (line 353) | pub fn signing_key_for_algorithm(&self, alg: &JsonWebSignatureAlg) -> Op... function available_signing_algorithms (line 366) | pub fn available_signing_algorithms(&self) -> Vec function from_iter (line 383) | fn from_iter>>(iter: T) -> Self { function load_google_keys (line 395) | fn load_google_keys() { function load_keycloak_keys (line 440) | fn load_keycloak_keys() { FILE: crates/jose/src/jwk/private_parameters.rs type JsonWebKeyPrivateParameters (line 19) | pub enum JsonWebKeyPrivateParameters { method oct (line 35) | pub const fn oct(&self) -> Option<&OctPrivateParameters> { method rsa (line 43) | pub const fn rsa(&self) -> Option<&RsaPrivateParameters> { method ec (line 51) | pub const fn ec(&self) -> Option<&EcPrivateParameters> { method okp (line 59) | pub const fn okp(&self) -> Option<&OkpPrivateParameters> { method kty (line 68) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 77) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type SymetricKeyError (line 89) | pub struct SymetricKeyError; type Error (line 92) | type Error = SymetricKeyError; method try_from (line 94) | fn try_from(value: JsonWebKeyPrivateParameters) -> Result JsonWebKeyType { method possible_algs (line 116) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type RsaPrivateParameters (line 126) | pub struct RsaPrivateParameters { method kty (line 165) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 169) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { function from (line 182) | fn from(params: RsaPrivateParameters) -> Self { type RsaOtherPrimeInfo (line 188) | struct RsaOtherPrimeInfo { type Error (line 208) | type Error = rsa::errors::Error; method try_from (line 209) | fn try_from(value: RsaPrivateParameters) -> Result { type Error (line 215) | type Error = rsa::errors::Error; method try_from (line 218) | fn try_from(value: &RsaPrivateParameters) -> Result { type EcPrivateParameters (line 239) | pub struct EcPrivateParameters { method from (line 310) | fn from(key: SecretKey) -> Self { method from (line 321) | fn from(key: &SecretKey) -> Self { method kty (line 253) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 257) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { function from (line 269) | fn from(params: EcPrivateParameters) -> Self { type Error (line 287) | type Error = elliptic_curve::Error; function try_from (line 288) | fn try_from(value: EcPrivateParameters) -> Result { type Error (line 297) | type Error = elliptic_curve::Error; function try_from (line 299) | fn try_from(value: &EcPrivateParameters) -> Result { type OkpPrivateParameters (line 338) | pub struct OkpPrivateParameters { method kty (line 346) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 350) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { function from (line 356) | fn from(params: OkpPrivateParameters) -> Self { FILE: crates/jose/src/jwk/public_parameters.rs type JsonWebKeyPublicParameters (line 18) | pub enum JsonWebKeyPublicParameters { method rsa (line 31) | pub const fn rsa(&self) -> Option<&RsaPublicParameters> { method ec (line 39) | pub const fn ec(&self) -> Option<&EcPublicParameters> { method okp (line 47) | pub const fn okp(&self) -> Option<&OkpPublicParameters> { method from (line 185) | fn from(key: RsaPublicKey) -> Self { method from (line 191) | fn from(key: &RsaPublicKey) -> Self { method from (line 273) | fn from(key: PublicKey) -> Self { method from (line 284) | fn from(key: &PublicKey) -> Self { method thumbprint_prehashed (line 56) | fn thumbprint_prehashed(&self) -> String { method kty (line 72) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 80) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type RsaPublicParameters (line 90) | pub struct RsaPublicParameters { method new (line 116) | pub const fn new(n: Base64UrlNoPad, e: Base64UrlNoPad) -> Self { method from (line 197) | fn from(key: RsaPublicKey) -> Self { method from (line 203) | fn from(key: &RsaPublicKey) -> Self { method kty (line 99) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 103) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type EcPublicParameters (line 122) | pub struct EcPublicParameters { method new (line 133) | pub const fn new(crv: JsonWebKeyEcEllipticCurve, x: Base64UrlNoPad, y:... method from (line 295) | fn from(key: PublicKey) -> Self { method from (line 306) | fn from(key: &PublicKey) -> Self { method kty (line 139) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 143) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type OkpPublicParameters (line 155) | pub struct OkpPublicParameters { method new (line 173) | pub const fn new(crv: JsonWebKeyOkpEllipticCurve, x: Base64UrlNoPad) -... method kty (line 163) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 167) | fn possible_algs(&self) -> &[JsonWebSignatureAlg] { type Error (line 212) | type Error = rsa::errors::Error; method try_from (line 213) | fn try_from(value: RsaPublicParameters) -> Result { type Error (line 219) | type Error = rsa::errors::Error; method try_from (line 220) | fn try_from(value: &RsaPublicParameters) -> Result { type Error (line 246) | type Error = elliptic_curve::Error; function try_from (line 247) | fn try_from(value: &EcPublicParameters) -> Result { function test_thumbprint_rfc_example (line 325) | fn test_thumbprint_rfc_example() { FILE: crates/jose/src/jwt/header.rs type JsonWebSignatureHeader (line 16) | pub struct JsonWebSignatureHeader { method new (line 52) | pub fn new(alg: JsonWebSignatureAlg) -> Self { method alg (line 69) | pub const fn alg(&self) -> &JsonWebSignatureAlg { method jku (line 74) | pub const fn jku(&self) -> Option<&Url> { method with_jku (line 79) | pub fn with_jku(mut self, jku: Url) -> Self { method jwk (line 85) | pub const fn jwk(&self) -> Option<&PublicJsonWebKey> { method with_jwk (line 94) | pub fn with_jwk(mut self, jwk: PublicJsonWebKey) -> Self { method kid (line 100) | pub fn kid(&self) -> Option<&str> { method with_kid (line 105) | pub fn with_kid(mut self, kid: impl Into) -> Self { method typ (line 111) | pub fn typ(&self) -> Option<&str> { method with_typ (line 116) | pub fn with_typ(mut self, typ: String) -> Self { method crit (line 122) | pub fn crit(&self) -> Option<&[String]> { method with_crit (line 127) | pub fn with_crit(mut self, crit: Vec) -> Self { FILE: crates/jose/src/jwt/raw.rs type RawJwt (line 12) | pub struct RawJwt<'a> { function new (line 19) | pub(super) fn new(inner: String, first_dot: usize, second_dot: usize) ->... function fmt (line 29) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function header (line 35) | pub fn header(&'a self) -> &'a str { function payload (line 39) | pub fn payload(&'a self) -> &'a str { function signature (line 43) | pub fn signature(&'a self) -> &'a str { function signed_part (line 47) | pub fn signed_part(&'a self) -> &'a str { function into_owned (line 51) | pub fn into_owned(self) -> RawJwt<'static> { type Target (line 61) | type Target = str; method deref (line 63) | fn deref(&self) -> &Self::Target { type DecodeError (line 69) | pub enum DecodeError { method from (line 81) | fn from(val: RawJwt<'a>) -> Self { type Error (line 87) | type Error = DecodeError; function try_from (line 88) | fn try_from(value: &'a str) -> Result { type Error (line 109) | type Error = DecodeError; function try_from (line 110) | fn try_from(value: String) -> Result { FILE: crates/jose/src/jwt/signed.rs type Jwt (line 17) | pub struct Jwt<'a, T> { function fmt (line 25) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 34) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type JwtDecodeError (line 45) | pub enum JwtDecodeError { method decode_header (line 84) | fn decode_header(inner: base64ct::Error) -> Self { method deserialize_header (line 88) | fn deserialize_header(inner: serde_json::Error) -> Self { method decode_payload (line 92) | fn decode_payload(inner: base64ct::Error) -> Self { method deserialize_payload (line 96) | fn deserialize_payload(inner: serde_json::Error) -> Self { method decode_signature (line 100) | fn decode_signature(inner: base64ct::Error) -> Self { type Error (line 109) | type Error = JwtDecodeError; function try_from (line 110) | fn try_from(raw: RawJwt<'a>) -> Result { type Error (line 139) | type Error = JwtDecodeError; function try_from (line 140) | fn try_from(value: &'a str) -> Result { type Error (line 150) | type Error = JwtDecodeError; function try_from (line 151) | fn try_from(value: String) -> Result { type JwtVerificationError (line 158) | pub enum JwtVerificationError { method parse_signature (line 171) | fn parse_signature(_inner: E) -> Self { method verify (line 175) | fn verify(inner: signature::Error) -> Self { type NoKeyWorked (line 182) | pub struct NoKeyWorked { function header (line 188) | pub fn header(&self) -> &JsonWebSignatureHeader { function payload (line 193) | pub fn payload(&self) -> &T { function into_owned (line 197) | pub fn into_owned(self) -> Jwt<'static, T> { function verify (line 211) | pub fn verify(&self, key: &K) -> Result<(), JwtVerificationError> function verify_with_shared_secret (line 229) | pub fn verify_with_shared_secret(&self, secret: Vec) -> Result<(), N... function verify_with_jwks (line 244) | pub fn verify_with_jwks(&self, jwks: &PublicJsonWebKeySet) -> Result<(),... function as_str (line 265) | pub fn as_str(&'a self) -> &'a str { function into_string (line 270) | pub fn into_string(self) -> String { function into_parts (line 275) | pub fn into_parts(self) -> (JsonWebSignatureHeader, T) { type JwtSignatureError (line 281) | pub enum JwtSignatureError { method encode_header (line 302) | fn encode_header(inner: serde_json::Error) -> Self { method encode_payload (line 306) | fn encode_payload(inner: serde_json::Error) -> Self { function sign (line 318) | pub fn sign( function sign_with_rng (line 338) | pub fn sign_with_rng( function test_jwt_decode (line 387) | fn test_jwt_decode() { function test_jwt_sign_and_verify (line 406) | fn test_jwt_sign_and_verify() { FILE: crates/jose/tests/generate.py function gen_key (line 25) | def gen_key( function import_key (line 50) | def import_key(name: str, kty: str) -> JsonWebKey: function sign_jwt (line 57) | def sign_jwt(alg: str, filename: str, key: JsonWebKey): FILE: crates/jose/tests/jws.rs function public_jwks (line 24) | fn public_jwks() -> mas_jose::jwk::PublicJsonWebKeySet { function private_jwks (line 28) | fn private_jwks() -> mas_jose::jwk::PrivateJsonWebKeySet { function oct_key (line 32) | fn oct_key() -> Vec { type Payload (line 37) | struct Payload { function test_private_to_public_jwks (line 220) | fn test_private_to_public_jwks() { FILE: crates/keystore/src/encrypter.rs type Encrypter (line 17) | pub struct Encrypter { method new (line 32) | pub fn new(key: &[u8; 32]) -> Self { method encrypt (line 44) | pub fn encrypt(&self, nonce: &[u8; 12], decrypted: &[u8]) -> Result Result Result Result, Decry... type DecryptError (line 23) | pub enum DecryptError { FILE: crates/keystore/src/lib.rs type LoadError (line 34) | pub enum LoadError { method is_encrypted (line 107) | pub fn is_encrypted(&self) -> bool { method is_unencrypted (line 115) | pub fn is_unencrypted(&self) -> bool { type PrivateKey (line 123) | pub enum PrivateKey { method from_pkcs1_private_key (line 136) | fn from_pkcs1_private_key(pkcs1_key: &pkcs1::RsaPrivateKey) -> Result<... method from_private_key_info (line 154) | fn from_private_key_info(info: PrivateKeyInfo) -> Result Result Result>, pkcs1::Error> { method to_pkcs8_der (line 206) | pub fn to_pkcs8_der(&self) -> Result>, pkcs8::Error> { method to_pem (line 225) | pub fn to_pem( method load (line 245) | pub fn load(bytes: &[u8]) -> Result { method load_encrypted (line 266) | pub fn load_encrypted(bytes: &[u8], password: impl AsRef<[u8]>) -> Res... method load_encrypted_der (line 289) | pub fn load_encrypted_der(der: &[u8], password: impl AsRef<[u8]>) -> R... method load_der (line 318) | pub fn load_der(der: &[u8]) -> Result { method load_encrypted_pem (line 350) | pub fn load_encrypted_pem(pem: &str, password: impl AsRef<[u8]>) -> Re... method load_pem (line 382) | pub fn load_pem(pem: &str) -> Result { method verifying_key_for_alg (line 415) | pub fn verifying_key_for_alg( method signing_key_for_alg (line 457) | pub fn signing_key_for_alg( method generate_rsa (line 498) | pub fn generate_rsa(mut rng: R) -> Result(mut rng: R) -> Self { method generate_ec_p384 (line 510) | pub fn generate_ec_p384(mut rng: R) -> Self { method generate_ec_k256 (line 516) | pub fn generate_ec_k256(mut rng: R) -> Self { type WrongAlgorithmError (line 133) | pub struct WrongAlgorithmError; function to_sec1_der (line 525) | fn to_sec1_der(key: &elliptic_curve::SecretKey) -> Result( method from (line 565) | fn from(val: &PrivateKey) -> Self { method kty (line 576) | fn kty(&self) -> JsonWebKeyType { method possible_algs (line 585) | fn possible_algs(&self) -> &'static [JsonWebSignatureAlg] { method thumbprint_prehashed (line 603) | fn thumbprint_prehashed(&self) -> String { type Keystore (line 612) | pub struct Keystore { method new (line 619) | pub fn new(keys: JsonWebKeySet) -> Self { method public_jwks (line 626) | pub fn public_jwks(&self) -> PublicJsonWebKeySet { type Target (line 637) | type Target = JsonWebKeySet; method deref (line 639) | fn deref(&self) -> &Self::Target { FILE: crates/keystore/tests/keystore.rs function load_encrypted_as_unencrypted_error (line 133) | fn load_encrypted_as_unencrypted_error() { function load_unencrypted_as_encrypted_error (line 142) | fn load_unencrypted_as_encrypted_error() { function generate_sign_and_verify (line 160) | fn generate_sign_and_verify() { FILE: crates/listener/examples/demo/main.rs function handler (line 29) | async fn handler(req: Request) -> Result Result<(), anyhow::Error> { function load_tls_config (line 82) | fn load_tls_config() -> Result, anyhow::Error> { FILE: crates/listener/src/lib.rs type ConnectionInfo (line 22) | pub struct ConnectionInfo { method get_tls_ref (line 32) | pub fn get_tls_ref(&self) -> Option<&TlsStreamInfo> { method get_proxy_ref (line 39) | pub fn get_proxy_ref(&self) -> Option<&ProxyProtocolV1Info> { method get_peer_addr (line 46) | pub fn get_peer_addr(&self) -> Option { FILE: crates/listener/src/maybe_tls.rs type TlsStreamInfo (line 24) | pub struct TlsStreamInfo { method is_alpn_h2 (line 34) | pub fn is_alpn_h2(&self) -> bool { function get_ref (line 59) | pub fn get_ref(&self) -> &T { function get_tls_connection (line 69) | pub fn get_tls_connection(&self) -> Option<&ServerConnection> { function tls_info (line 82) | pub fn tls_info(&self) -> Option { method poll_read (line 117) | fn poll_read( method poll_write (line 133) | fn poll_write( method poll_write_vectored (line 144) | fn poll_write_vectored( method is_write_vectored (line 155) | fn is_write_vectored(&self) -> bool { method poll_flush (line 162) | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll>) -> Self { method new_secure (line 189) | pub fn new_secure(tls_config: Arc) -> Self { method new_insecure (line 196) | pub fn new_insecure() -> Self { method is_secure (line 201) | pub const fn is_secure(&self) -> bool { method accept (line 210) | pub async fn accept(&self, stream: T) -> Result, ... FILE: crates/listener/src/proxy_protocol/acceptor.rs type ProxyAcceptor (line 15) | pub struct ProxyAcceptor { method new (line 28) | pub const fn new() -> Self { method accept (line 38) | pub async fn accept( type ProxyAcceptError (line 21) | pub enum ProxyAcceptError { FILE: crates/listener/src/proxy_protocol/maybe.rs type MaybeProxyAcceptor (line 13) | pub struct MaybeProxyAcceptor { method new (line 19) | pub const fn new(proxied: bool) -> Self { method new_proxied (line 30) | pub const fn new_proxied(acceptor: ProxyAcceptor) -> Self { method new_unproxied (line 37) | pub const fn new_unproxied() -> Self { method is_proxied (line 42) | pub const fn is_proxied(&self) -> bool { method accept (line 51) | pub async fn accept( FILE: crates/listener/src/proxy_protocol/v1.rs type ProxyProtocolV1Info (line 17) | pub enum ProxyProtocolV1Info { method parse (line 55) | pub(super) fn parse(buf: &mut B) -> Result method is_ipv4 (line 188) | pub fn is_ipv4(&self) -> bool { method is_ipv6 (line 203) | pub fn is_ipv6(&self) -> bool { method is_tcp (line 218) | pub const fn is_tcp(&self) -> bool { method is_udp (line 223) | pub const fn is_udp(&self) -> bool { method is_unknown (line 228) | pub const fn is_unknown(&self) -> bool { method source (line 233) | pub const fn source(&self) -> Option<&SocketAddr> { method destination (line 241) | pub const fn destination(&self) -> Option<&SocketAddr> { type ParseError (line 31) | pub enum ParseError { method not_enough_bytes (line 49) | pub const fn not_enough_bytes(&self) -> bool { function test_parse (line 254) | fn test_parse() { FILE: crates/listener/src/rewind.rs type Rewind (line 15) | pub struct Rewind { function new (line 21) | pub(crate) fn new(io: T) -> Self { function new_buffered (line 28) | pub(crate) fn new_buffered(io: T, buf: Bytes) -> Self { function rewind (line 36) | pub(crate) fn rewind(&mut self, bs: Bytes) { method poll_read (line 46) | fn poll_read( method poll_write (line 74) | fn poll_write( method poll_flush (line 82) | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll... method poll_write_vectored (line 90) | fn poll_write_vectored( method is_write_vectored (line 98) | fn is_write_vectored(&self) -> bool { function partial_rewind (line 113) | async fn partial_rewind() { function full_rewind (line 135) | async fn full_rewind() { FILE: crates/listener/src/server.rs constant HANDSHAKE_TIMEOUT (line 39) | const HANDSHAKE_TIMEOUT: Duration = Duration::from_secs(5); type Server (line 41) | pub struct Server { function try_new (line 52) | pub fn try_new(listener: L, service: S) -> Result function new (line 65) | pub fn new(listener: impl Into, service: S) -> Self { function with_proxy (line 75) | pub const fn with_proxy(mut self) -> Self { function with_tls (line 81) | pub fn with_tls(mut self, config: Arc) -> Self { function run (line 87) | pub async fn run( type AcceptError (line 110) | enum AcceptError { method tls_handshake (line 131) | fn tls_handshake(source: std::io::Error) -> Self { method proxy_handshake (line 135) | fn proxy_handshake(source: ProxyAcceptError) -> Self { method handshake_timeout (line 139) | fn handshake_timeout(source: tokio::time::error::Elapsed) -> Self { function accept (line 159) | async fn accept( function new (line 256) | fn new(connection: C, cancellation_token: CancellationToken) -> Self { type Output (line 277) | type Output = , TokioExecu... method poll (line 279) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { function run_servers (line 293) | pub async fn run_servers( FILE: crates/listener/src/unix_or_tcp.rs type SocketAddr (line 21) | pub enum SocketAddr { method from (line 27) | fn from(value: tokio::net::unix::SocketAddr) -> Self { method from (line 33) | fn from(value: std::net::SocketAddr) -> Self { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method into_net (line 49) | pub fn into_net(self) -> Option { method into_unix (line 57) | pub fn into_unix(self) -> Option { method as_net (line 65) | pub const fn as_net(&self) -> Option<&std::net::SocketAddr> { method as_unix (line 73) | pub const fn as_unix(&self) -> Option<&tokio::net::unix::SocketAddr> { type UnixOrTcpListener (line 81) | pub enum UnixOrTcpListener { method from (line 87) | fn from(listener: UnixListener) -> Self { method from (line 93) | fn from(listener: TcpListener) -> Self { type Error (line 99) | type Error = std::io::Error; method try_from (line 101) | fn try_from(listener: std::os::unix::net::UnixListener) -> Result Result Result { method is_unix (line 130) | pub const fn is_unix(&self) -> bool { method is_tcp (line 134) | pub const fn is_tcp(&self) -> bool { method accept (line 148) | pub async fn accept(&self) -> Result<(SocketAddr, UnixOrTcpConnection)... method poll_accept (line 180) | pub fn poll_accept( method from (line 228) | fn from(stream: TcpStream) -> Self { method local_addr (line 240) | pub fn local_addr(&self) -> Result { method peer_addr (line 253) | pub fn peer_addr(&self) -> Result { method poll_read (line 262) | fn poll_read( method poll_write (line 275) | fn poll_write( method poll_write_vectored (line 286) | fn poll_write_vectored( method is_write_vectored (line 297) | fn is_write_vectored(&self) -> bool { method poll_flush (line 304) | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Option<&str> { method fmt (line 41) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SynapseResponseExt (line 61) | pub(crate) trait SynapseResponseExt: Sized { method error_for_synapse_error (line 62) | async fn error_for_synapse_error(self) -> Result; method error_for_synapse_error (line 67) | async fn error_for_synapse_error(self) -> Result { FILE: crates/matrix-synapse/src/legacy.rs type SynapseConnection (line 21) | pub struct SynapseConnection { method new (line 30) | pub fn new( method builder (line 44) | fn builder(&self, method: Method, url: &str) -> reqwest::RequestBuilder { method post (line 56) | fn post(&self, url: &str) -> reqwest::RequestBuilder { method get (line 60) | fn get(&self, url: &str) -> reqwest::RequestBuilder { method put (line 64) | fn put(&self, url: &str) -> reqwest::RequestBuilder { method delete (line 68) | fn delete(&self, url: &str) -> reqwest::RequestBuilder { type ExternalID (line 74) | struct ExternalID { type ThreePIDMedium (line 81) | enum ThreePIDMedium { type ThreePID (line 87) | struct ThreePID { type SynapseUser (line 93) | struct SynapseUser { type SynapseDeviceListResponse (line 115) | struct SynapseDeviceListResponse { type SynapseDevice (line 120) | struct SynapseDevice { type SynapseUpdateDeviceRequest (line 128) | struct SynapseUpdateDeviceRequest<'a> { type SynapseDeleteDevicesRequest (line 133) | struct SynapseDeleteDevicesRequest { type SetDisplayNameRequest (line 138) | struct SetDisplayNameRequest<'a> { type SynapseDeactivateUserRequest (line 143) | struct SynapseDeactivateUserRequest { type SynapseAllowCrossSigningResetRequest (line 148) | struct SynapseAllowCrossSigningResetRequest {} type UsernameAvailableResponse (line 153) | struct UsernameAvailableResponse { method homeserver (line 159) | fn homeserver(&self) -> &str { method verify_token (line 164) | async fn verify_token(&self, token: &str) -> Result { method query_user (line 177) | async fn query_user(&self, localpart: &str) -> Result Result Result Resul... method sync_devices (line 458) | async fn sync_devices( method delete_user (line 537) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<(), ... method reactivate_user (line 574) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow::E... method set_displayname (line 608) | async fn set_displayname( method unset_displayname (line 648) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyhow:... method allow_cross_signing_reset (line 661) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(),... FILE: crates/matrix-synapse/src/modern.rs type SynapseConnection (line 19) | pub struct SynapseConnection { method new (line 28) | pub fn new( method builder (line 42) | fn builder(&self, method: Method, url: &str) -> reqwest::RequestBuilder { method post (line 54) | fn post(&self, url: &str) -> reqwest::RequestBuilder { method get (line 58) | fn get(&self, url: &str) -> reqwest::RequestBuilder { method homeserver (line 65) | fn homeserver(&self) -> &str { method verify_token (line 70) | async fn verify_token(&self, token: &str) -> Result { method query_user (line 83) | async fn query_user(&self, localpart: &str) -> Result Result Result Resul... method sync_devices (line 373) | async fn sync_devices( method delete_user (line 411) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<(), ... method reactivate_user (line 444) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow::E... method set_displayname (line 476) | async fn set_displayname( method unset_displayname (line 516) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyhow:... method allow_cross_signing_reset (line 548) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(),... FILE: crates/matrix/src/lib.rs type MatrixUser (line 19) | pub struct MatrixUser { type FieldAction (line 26) | enum FieldAction { type ProvisionRequest (line 33) | pub struct ProvisionRequest { method new (line 51) | pub fn new(localpart: impl Into, sub: impl Into, locke... method sub (line 64) | pub fn sub(&self) -> &str { method localpart (line 70) | pub fn localpart(&self) -> &str { method locked (line 76) | pub fn locked(&self) -> bool { method set_displayname (line 86) | pub fn set_displayname(mut self, displayname: String) -> Self { method unset_displayname (line 93) | pub fn unset_displayname(mut self) -> Self { method on_displayname (line 103) | pub fn on_displayname(&self, callback: F) -> &Self method set_avatar_url (line 122) | pub fn set_avatar_url(mut self, avatar_url: String) -> Self { method unset_avatar_url (line 129) | pub fn unset_avatar_url(mut self) -> Self { method on_avatar_url (line 139) | pub fn on_avatar_url(&self, callback: F) -> &Self method set_emails (line 158) | pub fn set_emails(mut self, emails: Vec) -> Self { method unset_emails (line 165) | pub fn unset_emails(mut self) -> Self { method on_emails (line 175) | pub fn on_emails(&self, callback: F) -> &Self type HomeserverConnection (line 190) | pub trait HomeserverConnection: Send + Sync { method homeserver (line 192) | fn homeserver(&self) -> &str; method mxid (line 199) | fn mxid(&self, localpart: &str) -> String { method localpart (line 211) | fn localpart<'a>(&self, mxid: &'a str) -> Option<&'a str> { method verify_token (line 231) | async fn verify_token(&self, token: &str) -> Result; method query_user (line 243) | async fn query_user(&self, localpart: &str) -> Result Result Result Res... method sync_devices (line 330) | async fn sync_devices( method delete_user (line 347) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<()... method reactivate_user (line 359) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow:... method set_displayname (line 372) | async fn set_displayname( method unset_displayname (line 388) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyho... method allow_cross_signing_reset (line 401) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(... method homeserver (line 406) | fn homeserver(&self) -> &str { method verify_token (line 410) | async fn verify_token(&self, token: &str) -> Result Result Result Result Res... method sync_devices (line 452) | async fn sync_devices( method delete_user (line 460) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<()... method reactivate_user (line 464) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow:... method set_displayname (line 468) | async fn set_displayname( method unset_displayname (line 476) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyho... method allow_cross_signing_reset (line 480) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(... method homeserver (line 488) | fn homeserver(&self) -> &str { method verify_token (line 492) | async fn verify_token(&self, token: &str) -> Result Result Result Result Res... method sync_devices (line 534) | async fn sync_devices( method delete_user (line 542) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<()... method reactivate_user (line 546) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow:... method set_displayname (line 550) | async fn set_displayname( method unset_displayname (line 558) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyho... method allow_cross_signing_reset (line 562) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(... FILE: crates/matrix/src/mock.rs type MockUser (line 16) | pub struct MockUser { type HomeserverConnection (line 29) | pub struct HomeserverConnection { constant VALID_BEARER_TOKEN (line 38) | pub const VALID_BEARER_TOKEN: &str = "mock_homeserver_bearer_token"; method new (line 41) | pub fn new(homeserver: H) -> Self method reserve_localpart (line 52) | pub async fn reserve_localpart(&self, localpart: &'static str) { method query_user_raw (line 61) | pub async fn query_user_raw(&self, localpart: &str) -> Result &str { method verify_token (line 75) | async fn verify_token(&self, token: &str) -> Result Result Result Result Res... method sync_devices (line 171) | async fn sync_devices( method delete_user (line 183) | async fn delete_user(&self, localpart: &str, erase: bool) -> Result<()... method reactivate_user (line 198) | async fn reactivate_user(&self, localpart: &str) -> Result<(), anyhow:... method set_displayname (line 207) | async fn set_displayname( method unset_displayname (line 219) | async fn unset_displayname(&self, localpart: &str) -> Result<(), anyho... method allow_cross_signing_reset (line 227) | async fn allow_cross_signing_reset(&self, localpart: &str) -> Result<(... function test_mock_connection (line 241) | async fn test_mock_connection() { FILE: crates/matrix/src/readonly.rs type ReadOnlyHomeserverConnection (line 12) | pub struct ReadOnlyHomeserverConnection { function new (line 17) | pub fn new(inner: C) -> Self method homeserver (line 27) | fn homeserver(&self) -> &str { method verify_token (line 31) | async fn verify_token(&self, token: &str) -> Result { method query_user (line 35) | async fn query_user(&self, localpart: &str) -> Result Result Result Res... method sync_devices (line 69) | async fn sync_devices( method delete_user (line 77) | async fn delete_user(&self, _localpart: &str, _erase: bool) -> Result<()... method reactivate_user (line 81) | async fn reactivate_user(&self, _localpart: &str) -> Result<(), anyhow::... method set_displayname (line 85) | async fn set_displayname( method unset_displayname (line 93) | async fn unset_displayname(&self, _localpart: &str) -> Result<(), anyhow... method allow_cross_signing_reset (line 97) | async fn allow_cross_signing_reset(&self, _localpart: &str) -> Result<()... FILE: crates/oauth2-types/src/errors.rs type ClientError (line 19) | pub struct ClientError { method new (line 31) | pub const fn new(error: ClientErrorCode, error_description: &'static s... method with_description (line 40) | pub fn with_description(mut self, description: String) -> Self { method from (line 47) | fn from(error: ClientErrorCode) -> Self { type ClientErrorCode (line 55) | pub enum ClientErrorCode { method fmt (line 273) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 306) | type Err = core::convert::Infallible; method from_str (line 308) | fn from_str(s: &str) -> Result { method default_description (line 345) | pub fn default_description(&self) -> &'static str { function serialize_client_error_code (line 434) | fn serialize_client_error_code() { function deserialize_client_error_code (line 528) | fn deserialize_client_error_code() { FILE: crates/oauth2-types/src/oidc.rs type AuthenticationMethodOrAccessTokenType (line 34) | pub enum AuthenticationMethodOrAccessTokenType { method fmt (line 50) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 60) | type Err = core::convert::Infallible; method from_str (line 62) | fn from_str(s: &str) -> Result { method authentication_method (line 81) | pub fn authentication_method(&self) -> Option<&OAuthClientAuthenticati... method access_token_type (line 91) | pub fn access_token_type(&self) -> Option<&OAuthAccessTokenType> { method from (line 100) | fn from(t: OAuthClientAuthenticationMethod) -> Self { method from (line 106) | fn from(t: OAuthAccessTokenType) -> Self { type ApplicationType (line 113) | pub enum ApplicationType { method fmt (line 125) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 135) | type Err = core::convert::Infallible; method from_str (line 137) | fn from_str(s: &str) -> Result { type SubjectType (line 152) | pub enum SubjectType { method fmt (line 166) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 176) | type Err = core::convert::Infallible; method from_str (line 178) | fn from_str(s: &str) -> Result { type ClaimType (line 189) | pub enum ClaimType { method fmt (line 206) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 217) | type Err = core::convert::Infallible; method from_str (line 219) | fn from_str(s: &str) -> Result { type AccountManagementAction (line 236) | pub enum AccountManagementAction { method fmt (line 272) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 286) | type Err = core::convert::Infallible; method from_str (line 288) | fn from_str(s: &str) -> Result { type ProviderMetadata (line 324) | pub struct ProviderMetadata { method validate (line 643) | pub fn validate( method insecure_verify_metadata (line 761) | pub fn insecure_verify_metadata( method response_modes_supported (line 800) | pub fn response_modes_supported(&self) -> &[ResponseMode] { method grant_types_supported (line 811) | pub fn grant_types_supported(&self) -> &[GrantType] { method token_endpoint_auth_methods_supported (line 822) | pub fn token_endpoint_auth_methods_supported(&self) -> &[OAuthClientAu... method revocation_endpoint_auth_methods_supported (line 833) | pub fn revocation_endpoint_auth_methods_supported(&self) -> &[OAuthCli... method claim_types_supported (line 844) | pub fn claim_types_supported(&self) -> &[ClaimType] { method claims_parameter_supported (line 855) | pub fn claims_parameter_supported(&self) -> bool { method request_parameter_supported (line 864) | pub fn request_parameter_supported(&self) -> bool { method request_uri_parameter_supported (line 873) | pub fn request_uri_parameter_supported(&self) -> bool { method require_request_uri_registration (line 882) | pub fn require_request_uri_registration(&self) -> bool { method require_signed_request_object (line 891) | pub fn require_signed_request_object(&self) -> bool { method require_pushed_authorization_requests (line 900) | pub fn require_pushed_authorization_requests(&self) -> bool { type VerifiedProviderMetadata (line 914) | pub struct VerifiedProviderMetadata { method issuer (line 921) | pub fn issuer(&self) -> &str { method authorization_endpoint (line 930) | pub fn authorization_endpoint(&self) -> &Url { method userinfo_endpoint (line 939) | pub fn userinfo_endpoint(&self) -> &Url { method token_endpoint (line 948) | pub fn token_endpoint(&self) -> &Url { method jwks_uri (line 957) | pub fn jwks_uri(&self) -> &Url { method response_types_supported (line 967) | pub fn response_types_supported(&self) -> &[ResponseType] { method subject_types_supported (line 977) | pub fn subject_types_supported(&self) -> &[SubjectType] { method id_token_signing_alg_values_supported (line 987) | pub fn id_token_signing_alg_values_supported(&self) -> &[JsonWebSignat... type Target (line 996) | type Target = ProviderMetadata; method deref (line 998) | fn deref(&self) -> &Self::Target { type ProviderMetadataVerificationError (line 1005) | pub enum ProviderMetadataVerificationError { type ExtraUrlRestrictions (line 1091) | enum ExtraUrlRestrictions { method can_have_fragment (line 1103) | fn can_have_fragment(self) -> bool { method can_have_query (line 1107) | fn can_have_query(self) -> bool { function validate_url (line 1115) | fn validate_url( function validate_signing_alg_values_supported (line 1151) | fn validate_signing_alg_values_supported<'a>( type RpInitiatedLogoutRequest (line 1171) | pub struct RpInitiatedLogoutRequest { method fmt (line 1216) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function valid_provider_metadata (line 1236) | fn valid_provider_metadata() -> (ProviderMetadata, String) { function validate_required_metadata (line 1255) | fn validate_required_metadata() { function validate_issuer (line 1261) | fn validate_issuer() { function validate_authorization_endpoint (line 1322) | fn validate_authorization_endpoint() { function validate_token_endpoint (line 1358) | fn validate_token_endpoint() { function validate_jwks_uri (line 1394) | fn validate_jwks_uri() { function validate_registration_endpoint (line 1420) | fn validate_registration_endpoint() { function validate_scopes_supported (line 1444) | fn validate_scopes_supported() { function validate_response_types_supported (line 1464) | fn validate_response_types_supported() { function validate_token_endpoint_signing_alg_values_supported (line 1481) | fn validate_token_endpoint_signing_alg_values_supported() { function validate_revocation_endpoint (line 1539) | fn validate_revocation_endpoint() { function validate_revocation_endpoint_signing_alg_values_supported (line 1573) | fn validate_revocation_endpoint_signing_alg_values_supported() { function validate_introspection_endpoint (line 1595) | fn validate_introspection_endpoint() { function validate_introspection_endpoint_signing_alg_values_supported (line 1619) | fn validate_introspection_endpoint_signing_alg_values_supported() { function validate_userinfo_endpoint (line 1641) | fn validate_userinfo_endpoint() { function validate_subject_types_supported (line 1665) | fn validate_subject_types_supported() { function validate_id_token_signing_alg_values_supported (line 1681) | fn validate_id_token_signing_alg_values_supported() { function validate_pushed_authorization_request_endpoint (line 1698) | fn validate_pushed_authorization_request_endpoint() { function serialize_application_type (line 1722) | fn serialize_application_type() { function deserialize_application_type (line 1734) | fn deserialize_application_type() { function serialize_subject_type (line 1746) | fn serialize_subject_type() { function deserialize_subject_type (line 1758) | fn deserialize_subject_type() { function serialize_claim_type (line 1770) | fn serialize_claim_type() { function deserialize_claim_type (line 1786) | fn deserialize_claim_type() { function deserialize_auth_method_or_token_type_type (line 1802) | fn deserialize_auth_method_or_token_type_type() { FILE: crates/oauth2-types/src/pkce.rs type CodeChallengeError (line 21) | pub enum CodeChallengeError { function validate_verifier (line 43) | fn validate_verifier(verifier: &str) -> Result<(), CodeChallengeError> { type CodeChallengeMethodExt (line 63) | pub trait CodeChallengeMethodExt { method compute_challenge (line 70) | fn compute_challenge<'a>(&self, verifier: &'a str) -> Result Result<(), CodeCh... method compute_challenge (line 92) | fn compute_challenge<'a>(&self, verifier: &'a str) -> Result(&self, map: &mut M, field_name: &str) -> Result<(), M::E... function deserialize (line 48) | fn deserialize( function sort (line 86) | pub(super) fn sort(&mut self) { type ClientMetadataSerdeHelper (line 95) | pub struct ClientMetadataSerdeHelper { method from (line 135) | fn from(metadata: VerifiedClientMetadata) -> Self { method from (line 141) | fn from(metadata: ClientMetadata) -> Self { method from (line 229) | fn from(metadata: ClientMetadataSerdeHelper) -> Self { type ClientMetadataLocalizedFields (line 317) | struct ClientMetadataLocalizedFields { method deserialize (line 357) | fn deserialize(deserializer: D) -> Result method serialize (line 326) | fn serialize(&self, serializer: S) -> Result function deserialize_localized_fields (line 408) | fn deserialize_localized_fields() { function serialize_localized_fields (line 447) | fn serialize_localized_fields() { FILE: crates/oauth2-types/src/registration/mod.rs constant DEFAULT_RESPONSE_TYPES (line 36) | pub const DEFAULT_RESPONSE_TYPES: [OAuthAuthorizationEndpointResponseTyp... constant DEFAULT_GRANT_TYPES (line 40) | pub const DEFAULT_GRANT_TYPES: &[GrantType] = &[GrantType::Authorization... constant DEFAULT_APPLICATION_TYPE (line 43) | pub const DEFAULT_APPLICATION_TYPE: ApplicationType = ApplicationType::Web; constant DEFAULT_TOKEN_AUTH_METHOD (line 46) | pub const DEFAULT_TOKEN_AUTH_METHOD: &OAuthClientAuthenticationMethod = constant DEFAULT_SIGNING_ALGORITHM (line 50) | pub const DEFAULT_SIGNING_ALGORITHM: &JsonWebSignatureAlg = &JsonWebSign... constant DEFAULT_ENCRYPTION_ENC_ALGORITHM (line 53) | pub const DEFAULT_ENCRYPTION_ENC_ALGORITHM: &JsonWebEncryptionEnc = type Localized (line 60) | pub struct Localized { function new (line 68) | pub fn new(non_localized: T, localized: impl IntoIterator usize { function non_localized (line 82) | pub fn non_localized(&self) -> &T { function to_non_localized (line 87) | pub fn to_non_localized(self) -> T { function get (line 92) | pub fn get(&self, language: Option<&LanguageTag>) -> Option<&T> { function iter (line 100) | pub fn iter(&self) -> impl Iterator, &T)> { function from (line 109) | fn from(t: (T, IndexMap)) -> Self { type ClientMetadata (line 124) | pub struct ClientMetadata { method validate (line 443) | pub fn validate(self) -> Result Self { method response_types (line 622) | pub fn response_types(&self) -> Vec { method grant_types (line 644) | pub fn grant_types(&self) -> &[GrantType] { method application_type (line 652) | pub fn application_type(&self) -> ApplicationType { method token_endpoint_auth_method (line 664) | pub fn token_endpoint_auth_method(&self) -> &OAuthClientAuthentication... method id_token_signed_response_alg (line 681) | pub fn id_token_signed_response_alg(&self) -> &JsonWebSignatureAlg { method id_token_encrypted_response (line 696) | pub fn id_token_encrypted_response( method userinfo_encrypted_response (line 718) | pub fn userinfo_encrypted_response( method request_object_encryption (line 740) | pub fn request_object_encryption( method require_auth_time (line 757) | pub fn require_auth_time(&self) -> bool { method require_signed_request_object (line 768) | pub fn require_signed_request_object(&self) -> bool { method require_pushed_authorization_requests (line 779) | pub fn require_pushed_authorization_requests(&self) -> bool { method introspection_encrypted_response (line 794) | pub fn introspection_encrypted_response( type VerifiedClientMetadata (line 820) | pub struct VerifiedClientMetadata { method redirect_uris (line 833) | pub fn redirect_uris(&self) -> &[Url] { type Target (line 842) | type Target = ClientMetadata; method deref (line 844) | fn deref(&self) -> &Self::Target { type ClientMetadataVerificationError (line 851) | pub enum ClientMetadataVerificationError { type ClientRegistrationResponse (line 901) | pub struct ClientRegistrationResponse { function valid_client_metadata (line 936) | fn valid_client_metadata() -> ClientMetadata { function jwks (line 943) | fn jwks() -> PublicJsonWebKeySet { function validate_required_metadata (line 959) | fn validate_required_metadata() { function validate_redirect_uris (line 965) | fn validate_redirect_uris() { function validate_response_types (line 997) | fn validate_response_types() { function validate_jwks (line 1192) | fn validate_jwks() { function validate_sector_identifier_uri (line 1212) | fn validate_sector_identifier_uri() { function validate_token_endpoint_auth_method (line 1231) | fn validate_token_endpoint_auth_method() { function validate_id_token_signed_response_alg (line 1287) | fn validate_id_token_signed_response_alg() { function validate_id_token_encrypted_response (line 1338) | fn validate_id_token_encrypted_response() { function validate_userinfo_encrypted_response (line 1355) | fn validate_userinfo_encrypted_response() { function validate_request_object_encryption (line 1372) | fn validate_request_object_encryption() { function validate_initiate_login_uri (line 1389) | fn validate_initiate_login_uri() { function validate_introspection_encrypted_response (line 1408) | fn validate_introspection_encrypted_response() { FILE: crates/oauth2-types/src/requests.rs type ResponseMode (line 35) | pub enum ResponseMode { method fmt (line 58) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 69) | type Err = core::convert::Infallible; method from_str (line 71) | fn from_str(s: &str) -> Result { type Display (line 90) | pub enum Display { method fmt (line 115) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 127) | type Err = core::convert::Infallible; method from_str (line 129) | fn from_str(s: &str) -> Result { type Prompt (line 148) | pub enum Prompt { method fmt (line 180) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 193) | type Err = core::convert::Infallible; method from_str (line 195) | fn from_str(s: &str) -> Result { type AuthorizationRequest (line 213) | pub struct AuthorizationRequest { method new (line 310) | pub fn new(response_type: ResponseType, client_id: String, scope: Scop... method fmt (line 334) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AuthorizationResponse (line 359) | pub struct AuthorizationResponse { method fmt (line 378) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DeviceAuthorizationRequest (line 391) | pub struct DeviceAuthorizationRequest { constant DEFAULT_DEVICE_AUTHORIZATION_INTERVAL (line 398) | pub const DEFAULT_DEVICE_AUTHORIZATION_INTERVAL: Duration = Duration::mi... type DeviceAuthorizationResponse (line 406) | pub struct DeviceAuthorizationResponse { method interval (line 442) | pub fn interval(&self) -> Duration { method fmt (line 449) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AuthorizationCodeGrant (line 464) | pub struct AuthorizationCodeGrant { method fmt (line 482) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RefreshTokenGrant (line 495) | pub struct RefreshTokenGrant { method fmt (line 508) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ClientCredentialsGrant (line 520) | pub struct ClientCredentialsGrant { type DeviceCodeGrant (line 530) | pub struct DeviceCodeGrant { method fmt (line 536) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type GrantType (line 545) | pub enum GrantType { method fmt (line 575) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 593) | type Err = core::convert::Infallible; method from_str (line 595) | fn from_str(s: &str) -> Result { type AccessTokenRequest (line 618) | pub enum AccessTokenRequest { method grant_type (line 640) | pub fn grant_type(&self) -> &'static str { type AccessTokenResponse (line 657) | pub struct AccessTokenResponse { method new (line 682) | pub fn new(access_token: String) -> AccessTokenResponse { method with_refresh_token (line 695) | pub fn with_refresh_token(mut self, refresh_token: String) -> Self { method with_id_token (line 702) | pub fn with_id_token(mut self, id_token: String) -> Self { method with_scope (line 709) | pub fn with_scope(mut self, scope: Scope) -> Self { method with_expires_in (line 716) | pub fn with_expires_in(mut self, expires_in: Duration) -> Self { method fmt (line 723) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type IntrospectionRequest (line 737) | pub struct IntrospectionRequest { method fmt (line 746) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type IntrospectionResponse (line 759) | pub struct IntrospectionResponse { type RevocationRequest (line 815) | pub struct RevocationRequest { method fmt (line 824) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type PushedAuthorizationResponse (line 840) | pub struct PushedAuthorizationResponse { function serde_refresh_token_grant (line 857) | fn serde_refresh_token_grant() { function serde_authorization_code_grant (line 878) | fn serde_authorization_code_grant() { function serialize_grant_type (line 895) | fn serialize_grant_type() { function deserialize_grant_type (line 927) | fn deserialize_grant_type() { function serialize_response_mode (line 960) | fn serialize_response_mode() { function deserialize_response_mode (line 976) | fn deserialize_response_mode() { function serialize_display (line 992) | fn serialize_display() { function deserialize_display (line 1000) | fn deserialize_display() { function serialize_prompt (line 1020) | fn serialize_prompt() { function deserialize_prompt (line 1038) | fn deserialize_prompt() { FILE: crates/oauth2-types/src/response_type.rs type InvalidResponseType (line 22) | pub struct InvalidResponseType; type ResponseTypeToken (line 35) | pub enum ResponseTypeToken { method fmt (line 50) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type Err (line 61) | type Err = core::convert::Infallible; method from_str (line 63) | fn from_str(s: &str) -> Result { type ResponseType (line 82) | pub struct ResponseType(BTreeSet); type Target (line 85) | type Target = BTreeSet; method deref (line 87) | fn deref(&self) -> &Self::Target { method has_code (line 95) | pub fn has_code(&self) -> bool { method has_id_token (line 101) | pub fn has_id_token(&self) -> bool { method has_token (line 107) | pub fn has_token(&self) -> bool { method fmt (line 131) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from_iter (line 153) | fn from_iter>(iter: T) -> Se... method from (line 159) | fn from(response_type: OAuthAuthorizationEndpointResponseType) -> Self { type Err (line 113) | type Err = InvalidResponseType; method from_str (line 115) | fn from_str(s: &str) -> Result { type Error (line 191) | type Error = InvalidResponseType; method try_from (line 193) | fn try_from(response_type: ResponseType) -> Result { function deserialize_response_type_token (line 232) | fn deserialize_response_type_token() { function serialize_response_type_token (line 252) | fn serialize_response_type_token() { function deserialize_response_type (line 275) | fn deserialize_response_type() { function serialize_response_type (line 416) | fn serialize_response_type() { FILE: crates/oauth2-types/src/scope.rs type InvalidScope (line 27) | pub struct InvalidScope; type ScopeToken (line 31) | pub struct ScopeToken(Cow<'static, str>); method from_static (line 37) | pub const fn from_static(token: &'static str) -> Self { method as_str (line 43) | pub fn as_str(&self) -> &str { method fmt (line 113) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant OPENID (line 51) | pub const OPENID: ScopeToken = ScopeToken::from_static("openid"); constant PROFILE (line 56) | pub const PROFILE: ScopeToken = ScopeToken::from_static("profile"); constant EMAIL (line 61) | pub const EMAIL: ScopeToken = ScopeToken::from_static("email"); constant ADDRESS (line 66) | pub const ADDRESS: ScopeToken = ScopeToken::from_static("address"); constant PHONE (line 71) | pub const PHONE: ScopeToken = ScopeToken::from_static("phone"); constant OFFLINE_ACCESS (line 78) | pub const OFFLINE_ACCESS: ScopeToken = ScopeToken::from_static("offline_... function nqchar (line 84) | fn nqchar(c: char) -> bool { type Err (line 89) | type Err = InvalidScope; method from_str (line 91) | fn from_str(s: &str) -> Result { type Target (line 105) | type Target = str; method deref (line 107) | fn deref(&self) -> &Self::Target { type Scope (line 120) | pub struct Scope(BTreeSet); method is_empty (line 154) | pub fn is_empty(&self) -> bool { method len (line 161) | pub fn len(&self) -> usize { method contains (line 167) | pub fn contains(&self, token: &str) -> bool { method insert (line 176) | pub fn insert(&mut self, value: ScopeToken) -> bool { method fmt (line 182) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method deserialize (line 205) | fn deserialize(deserializer: D) -> Result method from_iter (line 216) | fn from_iter>(iter: T) -> Self { type Target (line 123) | type Target = BTreeSet; method deref (line 125) | fn deref(&self) -> &Self::Target { method deref_mut (line 131) | fn deref_mut(&mut self) -> &mut Self::Target { type Err (line 137) | type Err = InvalidScope; method from_str (line 139) | fn from_str(s: &str) -> Result { method serialize (line 196) | fn serialize(&self, serializer: S) -> Result function parse_scope_token (line 226) | fn parse_scope_token() { function parse_scope (line 233) | fn parse_scope() { FILE: crates/oauth2-types/src/test_utils.rs function assert_serde_json (line 12) | pub(crate) fn assert_serde_json Self { method with_link (line 36) | pub fn with_link(mut self, link: WebFingerLink) -> Self { method with_issuer (line 43) | pub fn with_issuer(self, issuer: Url) -> Self { type WebFingerLink (line 51) | pub enum WebFingerLink { method issuer (line 63) | pub const fn issuer(href: Url) -> Self { function serialize_webfinger_response_test (line 75) | fn serialize_webfinger_response_test() { FILE: crates/oidc-client/src/error.rs type Error (line 22) | pub enum Error { type DiscoveryError (line 48) | pub enum DiscoveryError { type AuthorizationError (line 71) | pub enum AuthorizationError { type TokenRequestError (line 82) | pub enum TokenRequestError { type TokenAuthorizationCodeError (line 95) | pub enum TokenAuthorizationCodeError { type TokenRefreshError (line 107) | pub enum TokenRefreshError { type UserInfoError (line 119) | pub enum UserInfoError { type JwksError (line 153) | pub enum JwksError { type JwtVerificationError (line 160) | pub enum JwtVerificationError { type IdTokenError (line 181) | pub enum IdTokenError { type CredentialsError (line 212) | pub enum CredentialsError { type OAuth2ErrorResponse (line 240) | struct OAuth2ErrorResponse { method fmt (line 247) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type OAuth2Error (line 264) | pub struct OAuth2Error { method fmt (line 272) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 285) | fn from(inner: reqwest::Error) -> Self { type ResponseExt (line 292) | pub(crate) trait ResponseExt { method error_from_oauth2_error_response (line 293) | async fn error_from_oauth2_error_response(self) -> Result Result) -> fmt::Result { FILE: crates/oidc-client/src/requests/authorization_code.rs type AuthorizationRequestData (line 43) | pub struct AuthorizationRequestData { method new (line 101) | pub fn new(client_id: String, scope: Scope, redirect_uri: Url) -> Self { method with_code_challenge_methods_supported (line 121) | pub fn with_code_challenge_methods_supported( method with_display (line 131) | pub fn with_display(mut self, display: Display) -> Self { method with_prompt (line 138) | pub fn with_prompt(mut self, prompt: Vec) -> Self { method with_max_age (line 145) | pub fn with_max_age(mut self, max_age: NonZeroU32) -> Self { method with_ui_locales (line 152) | pub fn with_ui_locales(mut self, ui_locales: Vec) -> Self { method with_id_token_hint (line 159) | pub fn with_id_token_hint(mut self, id_token_hint: String) -> Self { method with_login_hint (line 166) | pub fn with_login_hint(mut self, login_hint: String) -> Self { method with_acr_values (line 173) | pub fn with_acr_values(mut self, acr_values: HashSet) -> Self { method with_response_mode (line 180) | pub fn with_response_mode(mut self, response_mode: ResponseMode) -> Se... type AuthorizationValidationData (line 189) | pub struct AuthorizationValidationData { type FullAuthorizationRequest (line 206) | struct FullAuthorizationRequest { function build_authorization_request (line 215) | fn build_authorization_request( function build_authorization_url (line 327) | pub fn build_authorization_url( function access_token_with_authorization_code (line 398) | pub async fn access_token_with_authorization_code( FILE: crates/oidc-client/src/requests/client_credentials.rs function access_token_with_client_credentials (line 48) | pub async fn access_token_with_client_credentials( FILE: crates/oidc-client/src/requests/discovery.rs function discover_inner (line 18) | async fn discover_inner( function discover (line 55) | pub async fn discover( function insecure_discover (line 87) | pub async fn insecure_discover( FILE: crates/oidc-client/src/requests/jose.rs function fetch_jwks (line 39) | pub async fn fetch_jwks( type JwtVerificationData (line 58) | pub struct JwtVerificationData<'a> { function verify_signed_jwt (line 101) | pub fn verify_signed_jwt<'a>( function verify_id_token (line 166) | pub fn verify_id_token<'a>( FILE: crates/oidc-client/src/requests/refresh_token.rs function refresh_access_token (line 69) | pub async fn refresh_access_token( FILE: crates/oidc-client/src/requests/token.rs function request_access_token (line 43) | pub async fn request_access_token( FILE: crates/oidc-client/src/requests/userinfo.rs function fetch_userinfo (line 55) | pub async fn fetch_userinfo( FILE: crates/oidc-client/src/types/client_credentials.rs constant CLIENT_SUPPORTED_AUTH_METHODS (line 32) | pub const CLIENT_SUPPORTED_AUTH_METHODS: &[OAuthClientAuthenticationMeth... type ClientCredentials (line 43) | pub enum ClientCredentials { method client_id (line 120) | pub fn client_id(&self) -> &str { method authenticated_form (line 133) | pub(crate) fn authenticated_form( method fmt (line 275) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type JwtBearerClientAssertionType (line 328) | struct JwtBearerClientAssertionType; function prepare_claims (line 330) | fn prepare_claims( type RequestWithClientCredentials (line 357) | struct RequestWithClientCredentials<'a, T> { FILE: crates/oidc-client/src/types/mod.rs type IdToken (line 22) | pub type IdToken<'a> = Jwt<'a, HashMap>; FILE: crates/oidc-client/tests/it/main.rs constant REDIRECT_URI (line 29) | const REDIRECT_URI: &str = "http://localhost/"; constant CLIENT_ID (line 30) | const CLIENT_ID: &str = "client!+ID"; constant CLIENT_SECRET (line 31) | const CLIENT_SECRET: &str = "SECRET?%Gclient"; constant AUTHORIZATION_CODE (line 32) | const AUTHORIZATION_CODE: &str = "authC0D3"; constant CODE_VERIFIER (line 33) | const CODE_VERIFIER: &str = "cODEv3R1f1ER"; constant NONCE (line 34) | const NONCE: &str = "No0o0o0once"; constant ACCESS_TOKEN (line 35) | const ACCESS_TOKEN: &str = "AccessToken1"; constant REFRESH_TOKEN (line 36) | const REFRESH_TOKEN: &str = "RefreshToken1"; constant SUBJECT_IDENTIFIER (line 37) | const SUBJECT_IDENTIFIER: &str = "SubjectID"; constant ID_TOKEN_SIGNING_ALG (line 38) | const ID_TOKEN_SIGNING_ALG: JsonWebSignatureAlg = JsonWebSignatureAlg::R... function now (line 40) | fn now() -> DateTime { function init_test (line 45) | async fn init_test() -> (reqwest::Client, MockServer, Url) { function keystore (line 56) | fn keystore(alg: &JsonWebSignatureAlg) -> Keystore { function id_token (line 77) | fn id_token(issuer: &str) -> (IdToken<'_>, PublicJsonWebKeySet) { function client_credentials (line 117) | fn client_credentials( FILE: crates/oidc-client/tests/it/requests/authorization_code.rs function pass_authorization_url (line 41) | fn pass_authorization_url() { function pass_full_authorization_url (line 87) | fn pass_full_authorization_url() { function is_valid_token_endpoint_request (line 135) | fn is_valid_token_endpoint_request(req: &Request) -> bool { function pass_access_token_with_authorization_code (line 180) | async fn pass_access_token_with_authorization_code() { function fail_access_token_with_authorization_code_wrong_nonce (line 238) | async fn fail_access_token_with_authorization_code_wrong_nonce() { function fail_access_token_with_authorization_code_no_id_token (line 299) | async fn fail_access_token_with_authorization_code_no_id_token() { FILE: crates/oidc-client/tests/it/requests/client_credentials.rs function pass_access_token_with_client_credentials (line 24) | async fn pass_access_token_with_client_credentials() { FILE: crates/oidc-client/tests/it/requests/discovery.rs function provider_metadata (line 23) | fn provider_metadata(issuer: &Url) -> ProviderMetadata { function pass_discover (line 38) | async fn pass_discover() { function fail_discover_404 (line 55) | async fn fail_discover_404() { function fail_discover_not_json (line 64) | async fn fail_discover_not_json() { function fail_discover_invalid_metadata (line 79) | async fn fail_discover_invalid_metadata() { FILE: crates/oidc-client/tests/it/requests/jose.rs type IdTokenFlag (line 27) | enum IdTokenFlag { function id_token (line 33) | fn id_token( function pass_verify_id_token (line 84) | async fn pass_verify_id_token() { function fail_verify_id_token_wrong_issuer (line 107) | async fn fail_verify_id_token_wrong_issuer() { function fail_verify_id_token_wrong_audience (line 132) | async fn fail_verify_id_token_wrong_audience() { function fail_verify_id_token_wrong_signing_algorithm (line 156) | async fn fail_verify_id_token_wrong_signing_algorithm() { function fail_verify_id_token_wrong_expiration (line 177) | async fn fail_verify_id_token_wrong_expiration() { function fail_verify_id_token_wrong_subject (line 195) | async fn fail_verify_id_token_wrong_subject() { function fail_verify_id_token_wrong_auth_time (line 220) | async fn fail_verify_id_token_wrong_auth_time() { FILE: crates/oidc-client/tests/it/requests/refresh_token.rs function pass_refresh_access_token (line 22) | async fn pass_refresh_access_token() { FILE: crates/oidc-client/tests/it/requests/userinfo.rs function pass_fetch_userinfo (line 17) | async fn pass_fetch_userinfo() { FILE: crates/oidc-client/tests/it/types/client_credentials.rs function pass_none (line 31) | async fn pass_none() { function pass_client_secret_basic (line 79) | async fn pass_client_secret_basic() { function pass_client_secret_post (line 121) | async fn pass_client_secret_post() { function pass_client_secret_jwt (line 178) | async fn pass_client_secret_jwt() { function pass_private_key_jwt (line 252) | async fn pass_private_key_jwt() { function verify_client_jwt (line 327) | fn verify_client_jwt( FILE: crates/policy/src/bin/schema.rs function write_schema (line 19) | fn write_schema(out_dir: Option<&Path>, file: &str) { function main (line 38) | fn main() { FILE: crates/policy/src/lib.rs type LoadError (line 28) | pub enum LoadError { method invalid_data_example (line 53) | pub fn invalid_data_example() -> Self { type InstantiateError (line 59) | pub enum InstantiateError { type Entrypoints (line 72) | pub struct Entrypoints { method all (line 81) | fn all(&self) -> [&str; 5] { type Data (line 94) | pub struct Data { method new (line 111) | pub fn new(base_data: BaseData) -> Self { method with_rest (line 120) | pub fn with_rest(mut self, rest: serde_json::Value) -> Self { method to_value (line 125) | fn to_value(&self) -> Result { type BaseData (line 102) | pub struct BaseData { function value_kind (line 136) | fn value_kind(value: &serde_json::Value) -> &'static str { function merge_data (line 147) | fn merge_data( function merge_data_rec (line 155) | fn merge_data_rec( type DynamicData (line 203) | struct DynamicData { type PolicyFactory (line 208) | pub struct PolicyFactory { method load (line 223) | pub async fn load( method set_dynamic_data (line 279) | pub async fn set_dynamic_data( method instantiate (line 314) | pub async fn instantiate(&self) -> Result { method instantiate_with_data (line 319) | async fn instantiate_with_data( type Policy (line 353) | pub struct Policy { method evaluate_email (line 379) | pub async fn evaluate_email( method evaluate_register (line 405) | pub async fn evaluate_register( method evaluate_client_registration (line 423) | pub async fn evaluate_client_registration( method evaluate_authorization_grant (line 452) | pub async fn evaluate_authorization_grant( method evaluate_compat_login (line 480) | pub async fn evaluate_compat_login( type EvaluationError (line 361) | pub enum EvaluationError { function make_entrypoints (line 500) | fn make_entrypoints() -> Entrypoints { function test_register (line 511) | async fn test_register() { function test_dynamic_data (line 580) | async fn test_dynamic_data() { function test_big_dynamic_data (line 647) | async fn test_big_dynamic_data() { function test_merge (line 700) | fn test_merge() { FILE: crates/policy/src/model.rs type ViolationVariant (line 23) | pub enum ViolationVariant { method as_str (line 64) | pub fn as_str(&self) -> &'static str { type Violation (line 83) | pub struct Violation { type EvaluationResult (line 98) | pub struct EvaluationResult { method fmt (line 104) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method valid (line 121) | pub fn valid(&self) -> bool { type Requester (line 129) | pub struct Requester { type RegistrationMethod (line 138) | pub enum RegistrationMethod { type RegisterInput (line 149) | pub struct RegisterInput<'a> { type ClientRegistrationInput (line 163) | pub struct ClientRegistrationInput<'a> { type GrantType (line 171) | pub enum GrantType { type AuthorizationGrantInput (line 181) | pub struct AuthorizationGrantInput<'a> { type CompatLoginInput (line 203) | pub struct CompatLoginInput<'a> { type CompatLogin (line 222) | pub enum CompatLogin { type SessionCounts (line 238) | pub struct SessionCounts { type EmailInput (line 249) | pub struct EmailInput<'a> { FILE: crates/router/src/endpoints.rs type PostAuthAction (line 15) | pub enum PostAuthAction { method continue_grant (line 37) | pub const fn continue_grant(id: Ulid) -> Self { method continue_device_code_grant (line 42) | pub const fn continue_device_code_grant(id: Ulid) -> Self { method continue_compat_sso_login (line 47) | pub const fn continue_compat_sso_login(id: Ulid) -> Self { method link_upstream (line 52) | pub const fn link_upstream(id: Ulid) -> Self { method manage_account (line 57) | pub const fn manage_account(action: Option) -> Self { method go_next (line 61) | pub fn go_next(&self, url_builder: &UrlBuilder) -> axum::response::Red... type OidcConfiguration (line 81) | pub struct OidcConfiguration; constant PATH (line 84) | const PATH: &'static str = "/.well-known/openid-configuration"; type Webfinger (line 89) | pub struct Webfinger; constant PATH (line 92) | const PATH: &'static str = "/.well-known/webfinger"; type ChangePasswordDiscovery (line 96) | pub struct ChangePasswordDiscovery; constant PATH (line 99) | const PATH: &'static str = "/.well-known/change-password"; type OAuth2Keys (line 104) | pub struct OAuth2Keys; constant PATH (line 107) | const PATH: &'static str = "/oauth2/keys.json"; type OidcUserinfo (line 112) | pub struct OidcUserinfo; constant PATH (line 115) | const PATH: &'static str = "/oauth2/userinfo"; type OAuth2Introspection (line 120) | pub struct OAuth2Introspection; constant PATH (line 123) | const PATH: &'static str = "/oauth2/introspect"; type OAuth2Revocation (line 128) | pub struct OAuth2Revocation; constant PATH (line 131) | const PATH: &'static str = "/oauth2/revoke"; type OAuth2TokenEndpoint (line 136) | pub struct OAuth2TokenEndpoint; constant PATH (line 139) | const PATH: &'static str = "/oauth2/token"; type OAuth2RegistrationEndpoint (line 144) | pub struct OAuth2RegistrationEndpoint; constant PATH (line 147) | const PATH: &'static str = "/oauth2/registration"; type OAuth2AuthorizationEndpoint (line 152) | pub struct OAuth2AuthorizationEndpoint; constant PATH (line 155) | const PATH: &'static str = "/authorize"; type Index (line 160) | pub struct Index; constant PATH (line 163) | const PATH: &'static str = "/"; type Healthcheck (line 168) | pub struct Healthcheck; constant PATH (line 171) | const PATH: &'static str = "/health"; type Login (line 176) | pub struct Login { method and_then (line 197) | pub const fn and_then(action: PostAuthAction) -> Self { method and_continue_grant (line 205) | pub const fn and_continue_grant(id: Ulid) -> Self { method and_continue_device_code_grant (line 213) | pub const fn and_continue_device_code_grant(id: Ulid) -> Self { method and_continue_compat_sso_login (line 221) | pub const fn and_continue_compat_sso_login(id: Ulid) -> Self { method and_link_upstream (line 229) | pub const fn and_link_upstream(id: Ulid) -> Self { method with_login_hint (line 237) | pub fn with_login_hint(mut self, login_hint: String) -> Self { method post_auth_action (line 244) | pub fn post_auth_action(&self) -> Option<&PostAuthAction> { method go_next (line 248) | pub fn go_next(&self, url_builder: &UrlBuilder) -> axum::response::Red... method from (line 257) | fn from(post_auth_action: Option) -> Self { type Query (line 184) | type Query = Self; method route (line 186) | fn route() -> &'static str { method query (line 190) | fn query(&self) -> Option<&Self::Query> { type Logout (line 267) | pub struct Logout; constant PATH (line 270) | const PATH: &'static str = "/logout"; type Register (line 275) | pub struct Register { method and_then (line 281) | pub fn and_then(action: PostAuthAction) -> Self { method and_continue_grant (line 288) | pub fn and_continue_grant(data: Ulid) -> Self { method and_continue_compat_sso_login (line 295) | pub fn and_continue_compat_sso_login(data: Ulid) -> Self { method post_auth_action (line 303) | pub fn post_auth_action(&self) -> Option<&PostAuthAction> { method go_next (line 307) | pub fn go_next(&self, url_builder: &UrlBuilder) -> axum::response::Red... method from (line 328) | fn from(post_auth_action: Option) -> Self { type Query (line 316) | type Query = PostAuthAction; method route (line 318) | fn route() -> &'static str { method query (line 322) | fn query(&self) -> Option<&Self::Query> { type PasswordRegister (line 335) | pub struct PasswordRegister { method and_then (line 344) | pub fn and_then(mut self, action: PostAuthAction) -> Self { method and_continue_grant (line 350) | pub fn and_continue_grant(mut self, data: Ulid) -> Self { method and_continue_compat_sso_login (line 356) | pub fn and_continue_compat_sso_login(mut self, data: Ulid) -> Self { method post_auth_action (line 363) | pub fn post_auth_action(&self) -> Option<&PostAuthAction> { method username (line 369) | pub fn username(&self) -> Option<&str> { method go_next (line 373) | pub fn go_next(&self, url_builder: &UrlBuilder) -> axum::response::Red... method from (line 394) | fn from(post_auth_action: Option) -> Self { type Query (line 382) | type Query = Self; method route (line 384) | fn route() -> &'static str { method query (line 388) | fn query(&self) -> Option<&Self::Query> { type RegisterToken (line 404) | pub struct RegisterToken { method new (line 410) | pub fn new(id: Ulid) -> Self { type Query (line 416) | type Query = (); method route (line 417) | fn route() -> &'static str { method path (line 421) | fn path(&self) -> std::borrow::Cow<'static, str> { type RegisterDisplayName (line 428) | pub struct RegisterDisplayName { method new (line 434) | pub fn new(id: Ulid) -> Self { type Query (line 440) | type Query = (); method route (line 441) | fn route() -> &'static str { method path (line 445) | fn path(&self) -> std::borrow::Cow<'static, str> { type RegisterVerifyEmail (line 452) | pub struct RegisterVerifyEmail { method new (line 458) | pub fn new(id: Ulid) -> Self { type Query (line 464) | type Query = (); method route (line 465) | fn route() -> &'static str { method path (line 469) | fn path(&self) -> std::borrow::Cow<'static, str> { type RegisterFinish (line 476) | pub struct RegisterFinish { method new (line 482) | pub const fn new(id: Ulid) -> Self { type Query (line 488) | type Query = (); method route (line 489) | fn route() -> &'static str { method path (line 493) | fn path(&self) -> std::borrow::Cow<'static, str> { type AccountAction (line 501) | pub enum AccountAction { type Account (line 541) | pub struct Account { type Query (line 546) | type Query = AccountAction; method route (line 548) | fn route() -> &'static str { method query (line 552) | fn query(&self) -> Option<&Self::Query> { type AccountWildcard (line 559) | pub struct AccountWildcard; constant PATH (line 562) | const PATH: &'static str = "/account/{*rest}"; type AccountPasswordChange (line 570) | pub struct AccountPasswordChange; constant PATH (line 573) | const PATH: &'static str = "/account/password/change"; type Consent (line 578) | pub struct Consent(pub Ulid); type Query (line 581) | type Query = (); method route (line 582) | fn route() -> &'static str { method path (line 586) | fn path(&self) -> std::borrow::Cow<'static, str> { type CompatLogin (line 592) | pub struct CompatLogin; constant PATH (line 595) | const PATH: &'static str = "/_matrix/client/{version}/login"; type CompatLogout (line 599) | pub struct CompatLogout; constant PATH (line 602) | const PATH: &'static str = "/_matrix/client/{version}/logout"; type CompatLogoutAll (line 606) | pub struct CompatLogoutAll; constant PATH (line 609) | const PATH: &'static str = "/_matrix/client/{version}/logout/all"; type CompatRefresh (line 613) | pub struct CompatRefresh; constant PATH (line 616) | const PATH: &'static str = "/_matrix/client/{version}/refresh"; type CompatLoginSsoRedirect (line 620) | pub struct CompatLoginSsoRedirect; constant PATH (line 623) | const PATH: &'static str = "/_matrix/client/{version}/login/sso/redirect"; type CompatLoginSsoRedirectSlash (line 630) | pub struct CompatLoginSsoRedirectSlash; constant PATH (line 633) | const PATH: &'static str = "/_matrix/client/{version}/login/sso/redirect/"; type CompatLoginSsoRedirectIdp (line 637) | pub struct CompatLoginSsoRedirectIdp; constant PATH (line 640) | const PATH: &'static str = "/_matrix/client/{version}/login/sso/redirect... type CompatLoginSsoAction (line 645) | pub enum CompatLoginSsoAction { method is_known (line 655) | pub fn is_known(&self) -> bool { type CompatLoginSsoActionParams (line 661) | pub struct CompatLoginSsoActionParams { type CompatLoginSsoComplete (line 670) | pub struct CompatLoginSsoComplete { method new (line 677) | pub fn new(id: Ulid, action: Option) -> Self { type Query (line 689) | type Query = CompatLoginSsoActionParams; method query (line 691) | fn query(&self) -> Option<&Self::Query> { method route (line 695) | fn route() -> &'static str { method path (line 699) | fn path(&self) -> std::borrow::Cow<'static, str> { type UpstreamOAuth2Authorize (line 705) | pub struct UpstreamOAuth2Authorize { method new (line 712) | pub const fn new(id: Ulid) -> Self { method and_then (line 720) | pub fn and_then(mut self, action: PostAuthAction) -> Self { type Query (line 727) | type Query = PostAuthAction; method route (line 728) | fn route() -> &'static str { method path (line 732) | fn path(&self) -> std::borrow::Cow<'static, str> { method query (line 736) | fn query(&self) -> Option<&Self::Query> { type UpstreamOAuth2Callback (line 742) | pub struct UpstreamOAuth2Callback { method new (line 748) | pub const fn new(id: Ulid) -> Self { type Query (line 754) | type Query = (); method route (line 755) | fn route() -> &'static str { method path (line 759) | fn path(&self) -> std::borrow::Cow<'static, str> { type UpstreamOAuth2Link (line 765) | pub struct UpstreamOAuth2Link { method new (line 771) | pub const fn new(id: Ulid) -> Self { type Query (line 777) | type Query = (); method route (line 778) | fn route() -> &'static str { method path (line 782) | fn path(&self) -> std::borrow::Cow<'static, str> { type UpstreamOAuth2BackchannelLogout (line 788) | pub struct UpstreamOAuth2BackchannelLogout { method new (line 794) | pub const fn new(id: Ulid) -> Self { type Query (line 800) | type Query = (); method route (line 801) | fn route() -> &'static str { method path (line 805) | fn path(&self) -> std::borrow::Cow<'static, str> { type DeviceCodeLink (line 812) | pub struct DeviceCodeLink { method with_code (line 818) | pub fn with_code(code: String) -> Self { type Query (line 824) | type Query = DeviceCodeLink; method route (line 825) | fn route() -> &'static str { method query (line 829) | fn query(&self) -> Option<&Self::Query> { type DeviceCodeConsent (line 836) | pub struct DeviceCodeConsent { method new (line 853) | pub fn new(id: Ulid) -> Self { type Query (line 841) | type Query = (); method route (line 842) | fn route() -> &'static str { method path (line 846) | fn path(&self) -> std::borrow::Cow<'static, str> { type OAuth2DeviceAuthorizationEndpoint (line 860) | pub struct OAuth2DeviceAuthorizationEndpoint; constant PATH (line 863) | const PATH: &'static str = "/oauth2/device"; type AccountRecoveryStart (line 868) | pub struct AccountRecoveryStart; constant PATH (line 871) | const PATH: &'static str = "/recover"; type AccountRecoveryProgress (line 876) | pub struct AccountRecoveryProgress { method new (line 882) | pub fn new(session_id: Ulid) -> Self { type Query (line 888) | type Query = (); method route (line 889) | fn route() -> &'static str { method path (line 893) | fn path(&self) -> std::borrow::Cow<'static, str> { type AccountRecoveryFinish (line 901) | pub struct AccountRecoveryFinish { method new (line 907) | pub fn new(ticket: String) -> Self { type Query (line 913) | type Query = AccountRecoveryFinish; method route (line 915) | fn route() -> &'static str { method query (line 919) | fn query(&self) -> Option<&Self::Query> { type StaticAsset (line 925) | pub struct StaticAsset { method new (line 931) | pub fn new(path: String) -> Self { type Query (line 937) | type Query = (); method route (line 938) | fn route() -> &'static str { method path (line 942) | fn path(&self) -> std::borrow::Cow<'static, str> { type GraphQL (line 948) | pub struct GraphQL; constant PATH (line 951) | const PATH: &'static str = "/graphql"; type GraphQLPlayground (line 955) | pub struct GraphQLPlayground; constant PATH (line 958) | const PATH: &'static str = "/graphql/playground"; type ApiSpec (line 962) | pub struct ApiSpec; constant PATH (line 965) | const PATH: &'static str = "/api/spec.json"; type ApiDoc (line 969) | pub struct ApiDoc; constant PATH (line 972) | const PATH: &'static str = "/api/doc/"; type ApiDocCallback (line 976) | pub struct ApiDocCallback; constant PATH (line 979) | const PATH: &'static str = "/api/doc/oauth2-callback"; FILE: crates/router/src/lib.rs function test_relative_urls (line 23) | fn test_relative_urls() { function test_absolute_urls (line 36) | fn test_absolute_urls() { FILE: crates/router/src/traits.rs type Route (line 12) | pub trait Route { method route (line 14) | fn route() -> &'static str; method query (line 15) | fn query(&self) -> Option<&Self::Query> { method path (line 19) | fn path(&self) -> Cow<'static, str> { method path_and_query (line 23) | fn path_and_query(&self) -> Cow<'static, str> { method absolute_url (line 38) | fn absolute_url(&self, base: &Url) -> Url { type Query (line 50) | type Query = (); method route (line 51) | fn route() -> &'static str { type SimpleRoute (line 45) | pub trait SimpleRoute { constant PATH (line 46) | const PATH: &'static str; FILE: crates/router/src/url_builder.rs type UrlBuilder (line 15) | pub struct UrlBuilder { method absolute_url_for (line 25) | pub fn absolute_url_for(&self, destination: &U) -> Url method relative_url_for (line 34) | pub fn relative_url_for(&self, destination: &U) -> String method prefix (line 47) | pub fn prefix(&self) -> Option<&str> { method redirect (line 56) | pub fn redirect(&self, destination: &U) -> axum::response::Redirect method absolute_redirect (line 65) | pub fn absolute_redirect(&self, destination: &U) -> axum::response:... method new (line 80) | pub fn new(base: Url, issuer: Option, assets_base: Option... method public_hostname (line 115) | pub fn public_hostname(&self) -> &str { method http_base (line 123) | pub fn http_base(&self) -> Url { method oidc_issuer (line 129) | pub fn oidc_issuer(&self) -> Url { method oidc_discovery (line 135) | pub fn oidc_discovery(&self) -> Url { method oauth_authorization_endpoint (line 141) | pub fn oauth_authorization_endpoint(&self) -> Url { method oauth_token_endpoint (line 147) | pub fn oauth_token_endpoint(&self) -> Url { method oauth_introspection_endpoint (line 153) | pub fn oauth_introspection_endpoint(&self) -> Url { method oauth_revocation_endpoint (line 159) | pub fn oauth_revocation_endpoint(&self) -> Url { method oauth_registration_endpoint (line 165) | pub fn oauth_registration_endpoint(&self) -> Url { method oauth_device_authorization_endpoint (line 171) | pub fn oauth_device_authorization_endpoint(&self) -> Url { method device_code_link (line 177) | pub fn device_code_link(&self) -> Url { method device_code_link_full (line 183) | pub fn device_code_link_full(&self, code: String) -> Url { method oidc_userinfo_endpoint (line 189) | pub fn oidc_userinfo_endpoint(&self) -> Url { method jwks_uri (line 195) | pub fn jwks_uri(&self) -> Url { method static_asset (line 201) | pub fn static_asset(&self, path: String) -> Url { method assets_base (line 207) | pub fn assets_base(&self) -> &str { method graphql_endpoint (line 213) | pub fn graphql_endpoint(&self) -> Url { method upstream_oauth_callback (line 219) | pub fn upstream_oauth_callback(&self, id: Ulid) -> Url { method upstream_oauth_authorize (line 225) | pub fn upstream_oauth_authorize(&self, id: Ulid) -> Url { method account_management_uri (line 231) | pub fn account_management_uri(&self) -> Url { method account_recovery_link (line 237) | pub fn account_recovery_link(&self, ticket: String) -> Url { function test_invalid_base_url_scheme (line 246) | fn test_invalid_base_url_scheme() { function test_invalid_base_url_query (line 252) | fn test_invalid_base_url_query() { function test_invalid_base_url_fragment (line 262) | fn test_invalid_base_url_fragment() { function test_invalid_base_url_credentials (line 272) | fn test_invalid_base_url_credentials() { function test_url_prefix (line 281) | fn test_url_prefix() { function test_absolute_uri_prefix (line 295) | fn test_absolute_uri_prefix() { FILE: crates/spa/src/vite.rs type ManifestEntry (line 14) | pub struct ManifestEntry { type Manifest (line 45) | pub struct Manifest { method find_assets (line 136) | pub fn find_assets<'a>( method lookup_by_name (line 152) | fn lookup_by_name<'a>( method lookup_by_file (line 162) | fn lookup_by_file<'a>( method find_imported_chunks (line 172) | fn find_imported_chunks<'a>( type FileType (line 51) | pub enum FileType { method from_name (line 61) | fn from_name(name: &Utf8Path) -> Option { type InvalidManifest (line 76) | pub enum InvalidManifest<'a> { type Asset (line 89) | pub struct Asset<'a> { function new (line 96) | fn new(entry: &'a ManifestEntry) -> Result> { function src (line 109) | pub fn src(&self, assets_base: &Utf8Path) -> Utf8PathBuf { function file_type (line 115) | pub fn file_type(&self) -> FileType { function integrity_attr (line 121) | pub fn integrity_attr(&self) -> String { FILE: crates/storage-pg/build.rs function main (line 7) | fn main() { FILE: crates/storage-pg/migrations/20220530084123_jobs_workers.sql type apalis (line 3) | CREATE TABLE IF NOT EXISTS apalis.workers ( type Idx (line 11) | CREATE INDEX IF NOT EXISTS Idx ON apalis.workers(id) type unique_worker_id (line 13) | CREATE UNIQUE INDEX IF NOT EXISTS unique_worker_id ON apalis.workers (id) type WTIdx (line 15) | CREATE INDEX IF NOT EXISTS WTIdx ON apalis.workers(worker_type) type LSIdx (line 17) | CREATE INDEX IF NOT EXISTS LSIdx ON apalis.workers(last_seen) type apalis (line 19) | CREATE TABLE IF NOT EXISTS apalis.jobs ( type TIdx (line 34) | CREATE INDEX IF NOT EXISTS TIdx ON apalis.jobs(id) type SIdx (line 36) | CREATE INDEX IF NOT EXISTS SIdx ON apalis.jobs(status) type unique_job_id (line 38) | CREATE UNIQUE INDEX IF NOT EXISTS unique_job_id ON apalis.jobs (id) type LIdx (line 40) | CREATE INDEX IF NOT EXISTS LIdx ON apalis.jobs(lock_by) type JTIdx (line 42) | CREATE INDEX IF NOT EXISTS JTIdx ON apalis.jobs(job_type) function apalis (line 44) | CREATE OR replace FUNCTION apalis.get_job( function apalis (line 75) | CREATE FUNCTION apalis.notify_new_jobs() returns trigger as $$ FILE: crates/storage-pg/migrations/20221018142001_init.sql type "users" (line 19) | CREATE TABLE "users" ( type "user_passwords" (line 31) | CREATE TABLE "user_passwords" ( type "user_emails" (line 44) | CREATE TABLE "user_emails" ( type "user_email_confirmation_codes" (line 65) | CREATE TABLE "user_email_confirmation_codes" ( type "user_sessions" (line 83) | CREATE TABLE "user_sessions" ( type "user_session_authentications" (line 96) | CREATE TABLE "user_session_authentications" ( type "compat_sessions" (line 112) | CREATE TABLE "compat_sessions" ( type "compat_sso_logins" (line 129) | CREATE TABLE "compat_sso_logins" ( type "compat_access_tokens" (line 150) | CREATE TABLE "compat_access_tokens" ( type "compat_refresh_tokens" (line 167) | CREATE TABLE "compat_refresh_tokens" ( type "oauth2_clients" (line 192) | CREATE TABLE "oauth2_clients" ( type "oauth2_client_redirect_uris" (line 220) | CREATE TABLE "oauth2_client_redirect_uris" ( type "oauth2_sessions" (line 232) | CREATE TABLE "oauth2_sessions" ( type "oauth2_consents" (line 251) | CREATE TABLE "oauth2_consents" ( type "oauth2_consents" (line 273) | CREATE INDEX "oauth2_consents_oauth2_client_id_user_id" type "oauth2_access_tokens" (line 276) | CREATE TABLE "oauth2_access_tokens" ( type "oauth2_refresh_tokens" (line 294) | CREATE TABLE "oauth2_refresh_tokens" ( type "oauth2_authorization_grants" (line 317) | CREATE TABLE "oauth2_authorization_grants" ( FILE: crates/storage-pg/migrations/20221121151402_upstream_oauth.sql type "upstream_oauth_providers" (line 15) | CREATE TABLE "upstream_oauth_providers" ( type "upstream_oauth_links" (line 37) | CREATE TABLE "upstream_oauth_links" ( type "upstream_oauth_authorization_sessions" (line 61) | CREATE TABLE "upstream_oauth_authorization_sessions" ( FILE: crates/storage-pg/migrations/20230829092920_oauth2_sessions_user_id_scope_list.sql type "oauth2_sessions" (line 48) | CREATE INDEX "oauth2_sessions_scope_list_idx" FILE: crates/storage-pg/migrations/20230919155444_record_session_last_activity.sql type "oauth2_sessions" (line 22) | CREATE INDEX "oauth2_sessions_user_id_last_active_at" type "user_sessions" (line 30) | CREATE INDEX "user_sessions_user_id_last_active_at" type "compat_sessions" (line 38) | CREATE INDEX "compat_sessions_user_id_last_active_at" FILE: crates/storage-pg/migrations/20231207090532_oauth_device_code_grant.sql type "oauth2_device_code_grant" (line 28) | CREATE TABLE "oauth2_device_code_grant" ( FILE: crates/storage-pg/migrations/20240207100003_user_terms.sql type user_terms (line 16) | CREATE TABLE user_terms ( FILE: crates/storage-pg/migrations/20240621080509_user_recovery.sql type "user_recovery_sessions" (line 16) | CREATE TABLE "user_recovery_sessions" ( type "user_recovery_tickets" (line 41) | CREATE TABLE "user_recovery_tickets" ( FILE: crates/storage-pg/migrations/20240718075125_sessions_active_index.sql type "compat_sessions" (line 17) | CREATE INDEX "compat_sessions_last_active_at_idx" ON "compat_sessions" (... type "oauth2_sessions" (line 18) | CREATE INDEX "oauth2_sessions_last_active_at_idx" ON "oauth2_sessions" (... type "user_sessions" (line 19) | CREATE INDEX "user_sessions_last_active_at_idx" ON "user_sessions" ("las... FILE: crates/storage-pg/migrations/20241004075132_queue_worker.sql type queue_workers (line 7) | CREATE TABLE queue_workers ( type queue_leader (line 22) | CREATE UNLOGGED TABLE queue_leader ( FILE: crates/storage-pg/migrations/20241004121132_queue_job.sql type queue_jobs (line 20) | CREATE TABLE queue_jobs ( type idx_queue_jobs_status_queue_job_id (line 50) | CREATE INDEX idx_queue_jobs_status_queue_job_id FILE: crates/storage-pg/migrations/20241122133435_queue_job_scheduled_index.sql type "queue_jobs" (line 7) | CREATE INDEX "queue_jobs_scheduled_at_idx" FILE: crates/storage-pg/migrations/20241125110803_queue_job_recurrent.sql type queue_schedules (line 7) | CREATE TABLE queue_schedules ( FILE: crates/storage-pg/migrations/20250109105709_user_email_authentication_codes.sql type "user_email_authentications" (line 7) | CREATE TABLE "user_email_authentications" ( type "user_email_authentication_codes" (line 18) | CREATE TABLE "user_email_authentication_codes" ( FILE: crates/storage-pg/migrations/20250113102144_user_registrations.sql type "user_registrations" (line 7) | CREATE TABLE "user_registrations" ( FILE: crates/storage-pg/migrations/20250124151529_unsupported_threepids_table.sql type user_unsupported_third_party_ids (line 15) | CREATE TABLE user_unsupported_third_party_ids( FILE: crates/storage-pg/migrations/20250225091000_dynamic_policy_data.sql type policy_data (line 11) | CREATE TABLE IF NOT EXISTS policy_data ( FILE: crates/storage-pg/migrations/20250410000000_idx_compat_access_tokens_session_fk.sql type compat_access_tokens_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000001_idx_compat_refresh_tokens_session_fk.sql type compat_refresh_tokens_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000002_idx_compat_refresh_tokens_access_token_fk.sql type compat_refresh_tokens_access_token_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000003_idx_compat_sessions_user_fk.sql type compat_sessions_user_fk (line 10) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000004_idx_compat_sessions_user_session_fk.sql type compat_sessions_user_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000006_idx_compat_sso_logins_session_fk.sql type compat_sso_logins_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000007_idx_oauth2_access_tokens_session_fk.sql type oauth2_access_tokens_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000008_idx_oauth2_authorization_grants_session_fk.sql type oauth2_authorization_grants_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000009_idx_oauth2_authorization_grants_client_fk.sql type oauth2_authorization_grants_client_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000010_idx_oauth2_consents_client_fk.sql type oauth2_consents_client_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000011_idx_oauth2_consents_user_fk.sql type oauth2_consents_user_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000012_idx_oauth2_device_code_grants_client_fk.sql type oauth2_device_code_grants_client_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000013_idx_oauth2_device_code_grants_session_fk.sql type oauth2_device_code_grants_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000014_idx_oauth2_device_code_grants_user_session_fk.sql type oauth2_device_code_grants_user_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000015_idx_oauth2_refresh_tokens_session_fk.sql type oauth2_refresh_tokens_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000016_idx_oauth2_refresh_tokens_access_token_fk.sql type oauth2_refresh_tokens_access_token_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000017_idx_oauth2_refresh_tokens_next_refresh_token_fk.sql type oauth2_refresh_tokens_next_refresh_token_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000018_idx_oauth2_sessions_user_session_fk.sql type oauth2_sessions_user_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000019_idx_oauth2_sessions_client_fk.sql type oauth2_sessions_client_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000020_idx_oauth2_sessions_user_fk.sql type oauth2_sessions_user_fk (line 10) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000022_idx_queue_jobs_started_by_fk.sql type queue_jobs_started_by_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000023_idx_queue_jobs_next_attempt_fk.sql type queue_jobs_next_attempt_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000024_idx_queue_jobs_schedule_name_fk.sql type queue_jobs_schedule_name_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000025_idx_upstream_oauth_authorization_sessions_provider_fk.sql type upstream_oauth_authorization_sessions_provider_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000026_idx_upstream_oauth_authorization_sessions_link_fk.sql type upstream_oauth_authorization_sessions_link_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000027_idx_upstream_oauth_links_provider_fk.sql type upstream_oauth_links_provider_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000028_idx_upstream_oauth_links_user_fk.sql type upstream_oauth_links_user_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000029_idx_user_email_authentication_codes_authentication_fk.sql type user_email_authentication_codes_authentication_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000030_idx_user_email_authentications_user_session_fk.sql type user_email_authentications_user_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000031_idx_user_email_authentications_user_registration_fk.sql type user_email_authentications_user_registration_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000032_idx_user_emails_user_fk.sql type user_emails_user_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000033_idx_user_emails_email_idx.sql type user_emails_email_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000034_idx_user_passwords_user_fk.sql type user_passwords_user_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000035_idx_user_recovery_tickets_session_fk.sql type user_recovery_tickets_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000036_idx_user_recovery_tickets_user_email_fk.sql type user_recovery_tickets_user_email_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000037_idx_user_registrations_email_authentication_fk.sql type user_registrations_email_authentication_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000038_idx_user_session_authentications_user_session_fk.sql type user_session_authentications_user_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000039_idx_user_session_authentications_user_password_fk.sql type user_session_authentications_user_password_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000040_idx_user_session_authentications_upstream_oauth_session_fk.sql type user_session_authentications_upstream_oauth_session_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000041_idx_user_sessions_user_fk.sql type user_sessions_user_fk (line 10) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000043_idx_user_terms_user_fk.sql type user_terms_user_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000044_idx_users_primary_email_fk.sql type users_primary_email_fk (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410000045_idx_user_recovery_tickets_ticket_idx.sql type user_recovery_tickets_ticket_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250410121612_users_lower_username_idx.sql type users_lower_username_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS users_lower_username_idx FILE: crates/storage-pg/migrations/20250602212100_user_registration_tokens.sql type "user_registration_tokens" (line 7) | CREATE TABLE "user_registration_tokens" ( type "user_registration_tokens" (line 34) | CREATE INDEX "user_registration_tokens_usage_limit_idx" type "user_registration_tokens" (line 37) | CREATE INDEX "user_registration_tokens_times_used_idx" type "user_registration_tokens" (line 40) | CREATE INDEX "user_registration_tokens_created_at_idx" type "user_registration_tokens" (line 43) | CREATE INDEX "user_registration_tokens_last_used_at_idx" type "user_registration_tokens" (line 46) | CREATE INDEX "user_registration_tokens_expires_at_idx" type "user_registration_tokens" (line 49) | CREATE INDEX "user_registration_tokens_revoked_at_idx" FILE: crates/storage-pg/migrations/20250602212101_idx_user_registration_token.sql type user_registrations_user_registration_token_id_fk (line 7) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250602212103_upstream_oauth2_id_token_claims_sub_sid_index.sql type upstream_oauth_authorization_sessions_sub_sid_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250602212104_upstream_oauth2_id_token_claims_sid_sub_index.sql type upstream_oauth_authorization_sessions_sid_sub_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250708155857_idx_user_emails_lower_email.sql type user_emails_lower_email_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20250709142230_id_token_claims_trigger.sql function fill_id_token_claims (line 14) | CREATE OR REPLACE FUNCTION fill_id_token_claims() FILE: crates/storage-pg/migrations/20250915092635_users_username_trgm_idx.sql type users_username_trgm_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS users_username_trgm_idx FILE: crates/storage-pg/migrations/20250924132713_personal_access_tokens.sql type personal_sessions (line 8) | CREATE TABLE personal_sessions ( type personal_access_tokens (line 37) | CREATE TABLE personal_access_tokens ( type personal_access_tokens (line 62) | CREATE UNIQUE INDEX ON personal_access_tokens (personal_session_id) WHER... type personal_sessions (line 66) | CREATE INDEX ON personal_sessions (owner_user_id) WHERE owner_user_id IS... type personal_sessions (line 67) | CREATE INDEX ON personal_sessions (owner_oauth2_client_id) WHERE owner_o... type personal_sessions (line 68) | CREATE INDEX ON personal_sessions (actor_user_id) FILE: crates/storage-pg/migrations/20251023134634_personal_access_tokens_unique_fix.sql type personal_access_tokens (line 14) | CREATE UNIQUE INDEX ON personal_access_tokens (personal_session_id) WHER... FILE: crates/storage-pg/migrations/20251127145951_user_registration_upstream_oauth_session_idx.sql type user_registrations_upstream_oauth_session_id_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS user_registrations_upstream_oaut... FILE: crates/storage-pg/migrations/20260108175627_oauth_access_tokens_revoked_at_idx.sql type oauth_access_tokens_revoked_at_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS oauth_access_tokens_revoked_at_idx FILE: crates/storage-pg/migrations/20260109115009_oauth_access_tokens_expires_at_idx.sql type oauth_access_tokens_expires_at_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS oauth_access_tokens_expires_at_idx FILE: crates/storage-pg/migrations/20260109172537_oauth_refresh_token_revoked_at.sql type oauth_refresh_tokens_revoked_at_idx (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS oauth_refresh_tokens_revoked_at_idx FILE: crates/storage-pg/migrations/20260112094550_oauth_refresh_token_not_consumed_idx.sql type oauth_refresh_token_not_consumed_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS oauth_refresh_token_not_consumed... FILE: crates/storage-pg/migrations/20260112094837_oauth_refresh_token_consumed_at_idx.sql type oauth_refresh_token_consumed_at_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS oauth_refresh_token_consumed_at_idx FILE: crates/storage-pg/migrations/20260115111313_idx_compat_sessions_finished_at.sql type "compat_sessions" (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "compat_sessions_finished_at_idx" FILE: crates/storage-pg/migrations/20260116000002_idx_upstream_oauth_links_orphaned.sql type idx_upstream_oauth_links_orphaned (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_upstream_oauth_links_orphaned FILE: crates/storage-pg/migrations/20260121104214_upstream_auth_user_session_fk_idx.sql type upstream_oauth_authorization_sessions_user_session_id_idx (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS FILE: crates/storage-pg/migrations/20260121112201_upstream_oauth_sessions_orphan_index.sql type upstream_oauth_authorization_sessions_orphaned (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS upstream_oauth_authorization_ses... FILE: crates/storage-pg/migrations/20260121121140_upstream_oauth_track_user_session_trigger.sql function upstream_oauth_authorization_sessions_insert_trigger (line 9) | CREATE OR REPLACE FUNCTION upstream_oauth_authorization_sessions_insert_... FILE: crates/storage-pg/migrations/20260122123211_idx_oauth2_sessions_finished_at.sql type "oauth2_sessions" (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "oauth2_sessions_finished_at_idx" FILE: crates/storage-pg/migrations/20260122124231_idx_user_sessions_finished_at.sql type "user_sessions" (line 9) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "user_sessions_finished_at_idx" FILE: crates/storage-pg/migrations/20260123090000_idx_oauth2_sessions_inactive_ips.sql type "oauth2_sessions" (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "oauth2_sessions_inactive_ips_idx" FILE: crates/storage-pg/migrations/20260123090001_idx_compat_sessions_inactive_ips.sql type "compat_sessions" (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "compat_sessions_inactive_ips_idx" FILE: crates/storage-pg/migrations/20260123090002_idx_user_sessions_inactive_ips.sql type "user_sessions" (line 8) | CREATE INDEX CONCURRENTLY IF NOT EXISTS "user_sessions_inactive_ips_idx" FILE: crates/storage-pg/src/app_session.rs type PgAppSessionRepository (line 39) | pub struct PgAppSessionRepository<'c> { function new (line 46) | pub fn new(conn: &'c mut PgConnection) -> Self { type AppSessionLookup (line 65) | pub(super) struct AppSessionLookup { method cursor (line 84) | fn cursor(&self) -> Ulid { type Error (line 93) | type Error = DatabaseError; method try_from (line 95) | fn try_from(value: AppSessionLookup) -> Result { function split_filter (line 219) | fn split_filter( type Error (line 267) | type Error = DatabaseError; method list (line 277) | async fn list( method count (line 433) | async fn count(&mut self, filter: AppSessionFilter<'_>) -> Result { function new (line 27) | pub fn new(conn: &'c mut PgConnection) -> Self { type CompatAccessTokenLookup (line 32) | struct CompatAccessTokenLookup { method from (line 41) | fn from(value: CompatAccessTokenLookup) -> Self { type Error (line 54) | type Error = DatabaseError; method lookup (line 65) | async fn lookup(&mut self, id: Ulid) -> Result... method find_by_token (line 98) | async fn find_by_token( method add (line 137) | async fn add( method expire (line 186) | async fn expire( FILE: crates/storage-pg/src/compat/mod.rs function test_session_repository (line 40) | async fn test_session_repository(pool: PgPool) { function test_access_token_repository (line 316) | async fn test_access_token_repository(pool: PgPool) { function test_refresh_token_repository (line 437) | async fn test_refresh_token_repository(pool: PgPool) { function test_compat_sso_login_repository (line 555) | async fn test_compat_sso_login_repository(pool: PgPool) { FILE: crates/storage-pg/src/compat/refresh_token.rs type PgCompatRefreshTokenRepository (line 22) | pub struct PgCompatRefreshTokenRepository<'c> { function new (line 29) | pub fn new(conn: &'c mut PgConnection) -> Self { type CompatRefreshTokenLookup (line 34) | struct CompatRefreshTokenLookup { method from (line 44) | fn from(value: CompatRefreshTokenLookup) -> Self { type Error (line 63) | type Error = DatabaseError; method lookup (line 74) | async fn lookup(&mut self, id: Ulid) -> Result { function new (line 45) | pub fn new(conn: &'c mut PgConnection) -> Self { type CompatSessionLookup (line 50) | struct CompatSessionLookup { method cursor (line 65) | fn cursor(&self) -> Ulid { method from (line 71) | fn from(value: CompatSessionLookup) -> Self { type CompatSessionAndSsoLoginLookup (line 97) | struct CompatSessionAndSsoLoginLookup { method cursor (line 118) | fn cursor(&self) -> Ulid { type Error (line 124) | type Error = DatabaseInconsistencyError; function try_from (line 126) | fn try_from(value: CompatSessionAndSsoLoginLookup) -> Result impl sea_query::IntoCon... type Error (line 274) | type Error = DatabaseError; method lookup (line 285) | async fn lookup(&mut self, id: Ulid) -> Result, Se... method add (line 326) | async fn add( method finish (line 386) | async fn finish( method finish_bulk (line 421) | async fn finish_bulk( method list (line 449) | async fn list( method count (line 554) | async fn count(&mut self, filter: CompatSessionFilter<'_>) -> Result { function new (line 40) | pub fn new(conn: &'c mut PgConnection) -> Self { type CompatSsoLoginLookup (line 47) | struct CompatSsoLoginLookup { method cursor (line 59) | fn cursor(&self) -> Ulid { type Error (line 65) | type Error = DatabaseInconsistencyError; method try_from (line 67) | fn try_from(res: CompatSsoLoginLookup) -> Result { method generate_condition (line 110) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 147) | type Error = DatabaseError; method lookup (line 158) | async fn lookup(&mut self, id: Ulid) -> Result, S... method find_for_session (line 194) | async fn find_for_session( method find_by_token (line 232) | async fn find_by_token( method add (line 272) | async fn add( method fulfill (line 318) | async fn fulfill( method exchange (line 362) | async fn exchange( method list (line 403) | async fn list( method count (line 467) | async fn count(&mut self, filter: CompatSsoLoginFilter<'_>) -> Result Self { type DatabaseInconsistencyError (line 72) | pub struct DatabaseInconsistencyError { method fmt (line 88) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method on (line 104) | pub(crate) const fn on(table: &'static str) -> Self { method column (line 115) | pub(crate) const fn column(mut self, column: &'static str) -> Self { method row (line 122) | pub(crate) const fn row(mut self, row: Ulid) -> Self { method source (line 129) | pub(crate) fn source( FILE: crates/storage-pg/src/filter.rs type Filter (line 8) | pub(crate) trait Filter { method generate_condition (line 14) | fn generate_condition(&self, has_joins: bool) -> impl sea_query::IntoC... type StatementExt (line 17) | pub(crate) trait StatementExt { method apply_filter (line 21) | fn apply_filter(&mut self, filter: F) -> &mut Self; method apply_filter (line 39) | fn apply_filter(&mut self, filter: F) -> &mut Self { method apply_filter (line 46) | fn apply_filter(&mut self, filter: F) -> &mut Self { method apply_filter (line 53) | fn apply_filter(&mut self, filter: F) -> &mut Self { type StatementWithJoinsExt (line 24) | pub(crate) trait StatementWithJoinsExt { method apply_filter_with_joins (line 28) | fn apply_filter_with_joins(&mut self, filter: F) -> &mut Self; method apply_filter_with_joins (line 32) | fn apply_filter_with_joins(&mut self, filter: F) -> &mut Se... FILE: crates/storage-pg/src/iden.rs type UserSessions (line 11) | pub enum UserSessions { type Users (line 23) | pub enum Users { type UserEmails (line 35) | pub enum UserEmails { type CompatSessions (line 44) | pub enum CompatSessions { type CompatSsoLogins (line 60) | pub enum CompatSsoLogins { type OAuth2Sessions (line 74) | pub enum OAuth2Sessions { type OAuth2Clients (line 93) | pub enum OAuth2Clients { type PersonalSessions (line 102) | pub enum PersonalSessions { type PersonalAccessTokens (line 119) | pub enum PersonalAccessTokens { type UpstreamOAuthProviders (line 131) | pub enum UpstreamOAuthProviders { type UpstreamOAuthLinks (line 163) | pub enum UpstreamOAuthLinks { type UpstreamOAuthAuthorizationSessions (line 177) | pub enum UpstreamOAuthAuthorizationSessions { type UserRegistrationTokens (line 200) | pub enum UserRegistrationTokens { FILE: crates/storage-pg/src/lib.rs function available_migrations (line 200) | fn available_migrations() -> BTreeMap { constant ALLOWED_MISSING_MIGRATIONS (line 207) | const ALLOWED_MISSING_MIGRATIONS: &[i64] = &[ function allowed_missing_migrations (line 214) | fn allowed_missing_migrations() -> BTreeSet { constant ALLOWED_ALTERNATE_CHECKSUMS (line 223) | const ALLOWED_ALTERNATE_CHECKSUMS: &[(i64, u128)] = &[ function alternate_checksums_map (line 275) | fn alternate_checksums_map() -> BTreeMap> { function applied_migrations_map (line 289) | async fn applied_migrations_map( function migration_table_exists (line 303) | async fn migration_table_exists(conn: &mut PgConnection) -> Result Result<(), MigrateError> { function pending_migrations (line 403) | pub async fn pending_migrations( function generate_lock_id (line 479) | fn generate_lock_id(database_name: &str) -> i64 { FILE: crates/storage-pg/src/oauth2/access_token.rs type PgOAuth2AccessTokenRepository (line 21) | pub struct PgOAuth2AccessTokenRepository<'c> { function new (line 28) | pub fn new(conn: &'c mut PgConnection) -> Self { type OAuth2AccessTokenLookup (line 33) | struct OAuth2AccessTokenLookup { method from (line 44) | fn from(value: OAuth2AccessTokenLookup) -> Self { type Error (line 64) | type Error = DatabaseError; method lookup (line 66) | async fn lookup(&mut self, id: Ulid) -> Result, Self... method find_by_token (line 100) | async fn find_by_token( method add (line 140) | async fn add( method revoke (line 192) | async fn revoke( method mark_used (line 228) | async fn mark_used( method cleanup_revoked (line 264) | async fn cleanup_revoked( method cleanup_expired (line 321) | async fn cleanup_expired( FILE: crates/storage-pg/src/oauth2/authorization_grant.rs type PgOAuth2AuthorizationGrantRepository (line 26) | pub struct PgOAuth2AuthorizationGrantRepository<'c> { function new (line 33) | pub fn new(conn: &'c mut PgConnection) -> Self { type GrantLookup (line 39) | struct GrantLookup { type Error (line 62) | type Error = DatabaseInconsistencyError; method try_from (line 64) | fn try_from(value: GrantLookup) -> Result { type Error (line 173) | type Error = DatabaseError; method add (line 186) | async fn add( method lookup (line 283) | async fn lookup(&mut self, id: Ulid) -> Result { function new (line 36) | pub fn new(conn: &'c mut PgConnection) -> Self { type OAuth2ClientLookup (line 43) | struct OAuth2ClientLookup { type Error (line 68) | type Error = DatabaseInconsistencyError; method try_into (line 70) | fn try_into(self) -> Result { type Error (line 251) | type Error = DatabaseError; method lookup (line 262) | async fn lookup(&mut self, id: Ulid) -> Result, Self::Err... method find_by_metadata_digest (line 310) | async fn find_by_metadata_digest( method load_batch (line 360) | async fn load_batch( method add (line 418) | async fn add( method upsert_static (line 552) | async fn upsert_static( method all_static (line 660) | async fn all_static(&mut self) -> Result, Self::Error> { method delete_by_id (line 707) | async fn delete_by_id(&mut self, id: Ulid) -> Result<(), Self::Error> { FILE: crates/storage-pg/src/oauth2/device_code_grant.rs type PgOAuth2DeviceCodeGrantRepository (line 24) | pub struct PgOAuth2DeviceCodeGrantRepository<'c> { function new (line 31) | pub fn new(conn: &'c mut PgConnection) -> Self { type OAuth2DeviceGrantLookup (line 36) | struct OAuth2DeviceGrantLookup { type Error (line 54) | type Error = DatabaseInconsistencyError; method try_from (line 56) | fn try_from( type Error (line 140) | type Error = DatabaseError; method add (line 153) | async fn add( method lookup (line 220) | async fn lookup(&mut self, id: Ulid) -> Result, ... method find_by_user_code (line 263) | async fn find_by_user_code( method find_by_device_code (line 309) | async fn find_by_device_code( method fulfill (line 358) | async fn fulfill( method reject (line 401) | async fn reject( method exchange (line 443) | async fn exchange( method cleanup (line 485) | async fn cleanup( FILE: crates/storage-pg/src/oauth2/mod.rs function test_repositories (line 44) | async fn test_repositories(pool: PgPool) { function test_list_sessions (line 377) | async fn test_list_sessions(pool: PgPool) { function test_device_code_grant_repository (line 725) | async fn test_device_code_grant_repository(pool: PgPool) { FILE: crates/storage-pg/src/oauth2/refresh_token.rs type PgOAuth2RefreshTokenRepository (line 21) | pub struct PgOAuth2RefreshTokenRepository<'c> { function new (line 28) | pub fn new(conn: &'c mut PgConnection) -> Self { type OAuth2RefreshTokenLookup (line 33) | struct OAuth2RefreshTokenLookup { type Error (line 45) | type Error = DatabaseInconsistencyError; method try_from (line 47) | fn try_from(value: OAuth2RefreshTokenLookup) -> Result { type Error (line 84) | type Error = DatabaseError; method lookup (line 95) | async fn lookup(&mut self, id: Ulid) -> Result, Sel... method find_by_token (line 130) | async fn find_by_token( method add (line 171) | async fn add( method consume (line 221) | async fn consume( method revoke (line 260) | async fn revoke( method cleanup_revoked (line 294) | async fn cleanup_revoked( method cleanup_consumed (line 348) | async fn cleanup_consumed( FILE: crates/storage-pg/src/oauth2/session.rs type PgOAuth2SessionRepository (line 38) | pub struct PgOAuth2SessionRepository<'c> { function new (line 45) | pub fn new(conn: &'c mut PgConnection) -> Self { type OAuthSessionLookup (line 52) | struct OAuthSessionLookup { method cursor (line 67) | fn cursor(&self) -> Ulid { type Error (line 73) | type Error = DatabaseInconsistencyError; method try_from (line 75) | fn try_from(value: OAuthSessionLookup) -> Result { method generate_condition (line 111) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 205) | type Error = DatabaseError; method lookup (line 216) | async fn lookup(&mut self, id: Ulid) -> Result, Self::Er... method add (line 257) | async fn add( method finish_bulk (line 318) | async fn finish_bulk( method finish (line 349) | async fn finish( method list (line 383) | async fn list( method count (line 459) | async fn count(&mut self, filter: OAuth2SessionFilter<'_>) -> Result( method generate_pagination (line 26) | fn generate_pagination( FILE: crates/storage-pg/src/personal/access_token.rs type PgPersonalAccessTokenRepository (line 23) | pub struct PgPersonalAccessTokenRepository<'c> { function new (line 30) | pub fn new(conn: &'c mut PgConnection) -> Self { type PersonalAccessTokenLookup (line 35) | struct PersonalAccessTokenLookup { method from (line 44) | fn from(value: PersonalAccessTokenLookup) -> Self { type Error (line 57) | type Error = DatabaseError; method lookup (line 68) | async fn lookup(&mut self, id: Ulid) -> Result { function new (line 53) | pub fn new(conn: &'c mut PgConnection) -> Self { type PersonalSessionLookup (line 60) | struct PersonalSessionLookup { method cursor (line 74) | fn cursor(&self) -> Ulid { type Error (line 80) | type Error = DatabaseInconsistencyError; method try_from (line 82) | fn try_from(value: PersonalSessionLookup) -> Result { type PersonalSessionAndAccessTokenLookup (line 126) | struct PersonalSessionAndAccessTokenLookup { method cursor (line 145) | fn cursor(&self) -> Ulid { type Error (line 153) | type Error = DatabaseInconsistencyError; function try_from (line 155) | fn try_from(value: PersonalSessionAndAccessTokenLookup) -> Result Result, ... method add (line 243) | async fn add( method revoke (line 311) | async fn revoke( method revoke_bulk (line 368) | async fn revoke_bulk( method list (line 435) | async fn list( method count (line 542) | async fn count(&mut self, filter: PersonalSessionFilter<'_>) -> Result impl sea_query::IntoCo... FILE: crates/storage-pg/src/policy_data.rs type PgPolicyDataRepository (line 21) | pub struct PgPolicyDataRepository<'c> { function new (line 29) | pub fn new(conn: &'c mut PgConnection) -> Self { type PolicyDataLookup (line 34) | struct PolicyDataLookup { method from (line 41) | fn from(value: PolicyDataLookup) -> Self { type Error (line 52) | type Error = DatabaseError; method get (line 62) | async fn get(&mut self) -> Result, Self::Error> { method set (line 91) | async fn set( method prune (line 128) | async fn prune(&mut self, keep: usize) -> Result { function test_policy_data (line 164) | async fn test_policy_data(pool: PgPool) { FILE: crates/storage-pg/src/queue/job.rs type PgQueueJobRepository (line 24) | pub struct PgQueueJobRepository<'c> { function new (line 32) | pub fn new(conn: &'c mut PgConnection) -> Self { type JobReservationResult (line 37) | struct JobReservationResult { type Error (line 46) | type Error = DatabaseInconsistencyError; method try_from (line 48) | fn try_from(value: JobReservationResult) -> Result { type Error (line 79) | type Error = DatabaseError; method schedule (line 91) | async fn schedule( method schedule_later (line 133) | async fn schedule_later( method reserve (line 202) | async fn reserve( method mark_as_completed (line 267) | async fn mark_as_completed(&mut self, clock: &dyn Clock, id: Ulid) -> Re... method mark_as_failed (line 296) | async fn mark_as_failed( method retry (line 336) | async fn retry( method schedule_available_jobs (line 429) | async fn schedule_available_jobs(&mut self, clock: &dyn Clock) -> Result... method cleanup (line 460) | async fn cleanup( FILE: crates/storage-pg/src/queue/schedule.rs type PgQueueScheduleRepository (line 18) | pub struct PgQueueScheduleRepository<'c> { function new (line 26) | pub fn new(conn: &'c mut PgConnection) -> Self { type ScheduleLookup (line 31) | struct ScheduleLookup { method from (line 38) | fn from(value: ScheduleLookup) -> Self { type Error (line 49) | type Error = DatabaseError; method setup (line 51) | async fn setup(&mut self, schedules: &[&'static str]) -> Result<(), Self... method list (line 67) | async fn list(&mut self) -> Result, Self::Error> { FILE: crates/storage-pg/src/queue/worker.rs type PgQueueWorkerRepository (line 21) | pub struct PgQueueWorkerRepository<'c> { function new (line 29) | pub fn new(conn: &'c mut PgConnection) -> Self { type Error (line 36) | type Error = DatabaseError; method register (line 47) | async fn register( method heartbeat (line 80) | async fn heartbeat(&mut self, clock: &dyn Clock, worker: &Worker) -> Res... method shutdown (line 110) | async fn shutdown(&mut self, clock: &dyn Clock, worker: &Worker) -> Resu... method shutdown_dead_workers (line 162) | async fn shutdown_dead_workers( method remove_leader_lease_if_expired (line 196) | async fn remove_leader_lease_if_expired( method try_get_leader_lease (line 224) | async fn try_get_leader_lease( FILE: crates/storage-pg/src/repository.rs type PgRepositoryFactory (line 72) | pub struct PgRepositoryFactory { method new (line 79) | pub fn new(pool: PgPool) -> Self { method boxed (line 85) | pub fn boxed(self) -> BoxRepositoryFactory { method pool (line 91) | pub fn pool(&self) -> PgPool { method create (line 98) | async fn create(&self) -> Result { type PgRepository (line 116) | pub struct PgRepository> { method from_pool (line 127) | pub async fn from_pool(pool: &PgPool) -> Result { method boxed (line 133) | pub fn boxed(self) -> BoxRepository { function from_conn (line 141) | pub fn from_conn(conn: C) -> Self { function into_inner (line 146) | pub fn into_inner(self) -> C { function as_ref (line 152) | fn as_ref(&self) -> &C { function as_mut (line 158) | fn as_mut(&mut self) -> &mut C { type Target (line 164) | type Target = C; method deref (line 166) | fn deref(&self) -> &Self::Target { method deref_mut (line 172) | fn deref_mut(&mut self) -> &mut Self::Target { type Error (line 180) | type Error = DatabaseError; method save (line 182) | fn save(self: Box) -> BoxFuture<'static, Result<(), Self::Error>> { method cancel (line 191) | fn cancel(self: Box) -> BoxFuture<'static, Result<(), Self::Error>> { type Error (line 205) | type Error = DatabaseError; method upstream_oauth_link (line 207) | fn upstream_oauth_link<'c>( method upstream_oauth_provider (line 213) | fn upstream_oauth_provider<'c>( method upstream_oauth_session (line 219) | fn upstream_oauth_session<'c>( method user (line 225) | fn user<'c>(&'c mut self) -> Box... method user_email (line 229) | fn user_email<'c>(&'c mut self) -> Box( method user_recovery (line 239) | fn user_recovery<'c>( method user_terms (line 245) | fn user_terms<'c>(&'c mut self) -> Box( method user_registration_token (line 255) | fn user_registration_token<'c>( method browser_session (line 261) | fn browser_session<'c>( method app_session (line 267) | fn app_session<'c>(&'c mut self) -> Box( method oauth2_authorization_grant (line 277) | fn oauth2_authorization_grant<'c>( method oauth2_session (line 285) | fn oauth2_session<'c>( method oauth2_access_token (line 291) | fn oauth2_access_token<'c>( method oauth2_refresh_token (line 297) | fn oauth2_refresh_token<'c>( method oauth2_device_code_grant (line 303) | fn oauth2_device_code_grant<'c>( method compat_session (line 309) | fn compat_session<'c>( method compat_sso_login (line 315) | fn compat_sso_login<'c>( method compat_access_token (line 321) | fn compat_access_token<'c>( method compat_refresh_token (line 327) | fn compat_refresh_token<'c>( method personal_access_token (line 333) | fn personal_access_token<'c>( method personal_session (line 340) | fn personal_session<'c>( method queue_worker (line 346) | fn queue_worker<'c>(&'c mut self) -> Box(&'c mut self) -> Box( method policy_data (line 360) | fn policy_data<'c>(&'c mut self) -> Box: Sized { method traced (line 15) | fn traced(self) -> Self { method record (line 21) | fn record(self, span: &Span) -> Self; method record (line 29) | fn record(self, span: &Span) -> Self { FILE: crates/storage-pg/src/upstream_oauth2/link.rs type PgUpstreamOAuthLinkRepository (line 35) | pub struct PgUpstreamOAuthLinkRepository<'c> { function new (line 42) | pub fn new(conn: &'c mut PgConnection) -> Self { type LinkLookup (line 49) | struct LinkLookup { method cursor (line 59) | fn cursor(&self) -> Ulid { method from (line 65) | fn from(value: LinkLookup) -> Self { method generate_condition (line 78) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 122) | type Error = DatabaseError; method lookup (line 133) | async fn lookup(&mut self, id: Ulid) -> Result... method find_by_subject (line 169) | async fn find_by_subject( method add (line 213) | async fn add( method associate_to_user (line 268) | async fn associate_to_user( method list (line 297) | async fn list( method count (line 365) | async fn count(&mut self, filter: UpstreamOAuthLinkFilter<'_>) -> Result... method remove (line 399) | async fn remove( method cleanup_orphaned (line 458) | async fn cleanup_orphaned( FILE: crates/storage-pg/src/upstream_oauth2/mod.rs function test_repository (line 43) | async fn test_repository(pool: PgPool) { function test_provider_repository_pagination (line 314) | async fn test_provider_repository_pagination(pool: PgPool) { function test_session_repository_pagination (line 463) | async fn test_session_repository_pagination(pool: PgPool) { FILE: crates/storage-pg/src/upstream_oauth2/provider.rs type PgUpstreamOAuthProviderRepository (line 36) | pub struct PgUpstreamOAuthProviderRepository<'c> { function new (line 43) | pub fn new(conn: &'c mut PgConnection) -> Self { type ProviderLookup (line 50) | struct ProviderLookup { method cursor (line 79) | fn cursor(&self) -> Ulid { type Error (line 85) | type Error = DatabaseInconsistencyError; method try_from (line 87) | fn try_from(value: ProviderLookup) -> Result { method generate_condition (line 242) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 256) | type Error = DatabaseError; method lookup (line 267) | async fn lookup(&mut self, id: Ulid) -> Result Result<(), Self::Error> { method upsert (line 514) | async fn upsert( method disable (line 665) | async fn disable( method list (line 699) | async fn list( method count (line 908) | async fn count( method all_enabled (line 942) | async fn all_enabled(&mut self) -> Result, Se... FILE: crates/storage-pg/src/upstream_oauth2/session.rs method generate_condition (line 35) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type PgUpstreamOAuthSessionRepository (line 65) | pub struct PgUpstreamOAuthSessionRepository<'c> { function new (line 72) | pub fn new(conn: &'c mut PgConnection) -> Self { type SessionLookup (line 79) | struct SessionLookup { method cursor (line 97) | fn cursor(&self) -> Ulid { type Error (line 103) | type Error = DatabaseInconsistencyError; method try_from (line 105) | fn try_from(value: SessionLookup) -> Result { type Error (line 193) | type Error = DatabaseError; method lookup (line 204) | async fn lookup( method add (line 252) | async fn add( method complete_with_link (line 315) | async fn complete_with_link( method consume (line 374) | async fn consume( method list (line 411) | async fn list( method count (line 546) | async fn count( method cleanup_orphaned (line 583) | async fn cleanup_orphaned( FILE: crates/storage-pg/src/user/email.rs type PgUserEmailRepository (line 35) | pub struct PgUserEmailRepository<'c> { function new (line 42) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserEmailLookup (line 49) | struct UserEmailLookup { method cursor (line 57) | fn cursor(&self) -> Ulid { method from (line 63) | fn from(e: UserEmailLookup) -> UserEmail { type UserEmailAuthenticationLookup (line 73) | struct UserEmailAuthenticationLookup { method from (line 83) | fn from(value: UserEmailAuthenticationLookup) -> Self { type UserEmailAuthenticationCodeLookup (line 95) | struct UserEmailAuthenticationCodeLookup { method from (line 104) | fn from(value: UserEmailAuthenticationCodeLookup) -> Self { method generate_condition (line 116) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 133) | type Error = DatabaseError; method lookup (line 144) | async fn lookup(&mut self, id: Ulid) -> Result, Self::... method find (line 179) | async fn find(&mut self, user: &User, email: &str) -> Result Result Result, Self::Err... method list (line 282) | async fn list( method count (line 327) | async fn count(&mut self, filter: UserEmailFilter<'_>) -> Result Result<(), Self::Er... method remove_bulk (line 424) | async fn remove_bulk(&mut self, filter: UserEmailFilter<'_>) -> Result { function new (line 54) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserLookup (line 72) | pub(super) struct UserLookup { method cursor (line 83) | fn cursor(&self) -> Ulid { method from (line 92) | fn from(value: UserLookup) -> Self { method generate_condition (line 108) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 140) | type Error = DatabaseError; method lookup (line 151) | async fn lookup(&mut self, id: Ulid) -> Result, Self::Error> { method find_by_username (line 185) | async fn find_by_username(&mut self, username: &str) -> Result Result { method lock (line 310) | async fn lock(&mut self, clock: &dyn Clock, mut user: User) -> Result Result { method deactivate (line 378) | async fn deactivate(&mut self, clock: &dyn Clock, mut user: User) -> Res... method reactivate (line 414) | async fn reactivate(&mut self, mut user: User) -> Result Result<... method set_can_request_admin (line 472) | async fn set_can_request_admin( method list (line 505) | async fn list( method count (line 562) | async fn count(&mut self, filter: UserFilter<'_>) -> Result Result<(), Sel... FILE: crates/storage-pg/src/user/password.rs type PgUserPasswordRepository (line 19) | pub struct PgUserPasswordRepository<'c> { function new (line 26) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserPasswordLookup (line 31) | struct UserPasswordLookup { type Error (line 41) | type Error = DatabaseError; method active (line 53) | async fn active(&mut self, user: &User) -> Result, Self... method add (line 109) | async fn add( FILE: crates/storage-pg/src/user/recovery.rs type PgUserRecoveryRepository (line 22) | pub struct PgUserRecoveryRepository<'c> { function new (line 29) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserRecoverySessionRow (line 34) | struct UserRecoverySessionRow { method from (line 45) | fn from(row: UserRecoverySessionRow) -> Self { type UserRecoveryTicketRow (line 58) | struct UserRecoveryTicketRow { method from (line 68) | fn from(row: UserRecoveryTicketRow) -> Self { type Error (line 82) | type Error = DatabaseError; method lookup_session (line 93) | async fn lookup_session( method add_session (line 135) | async fn add_session( method find_ticket (line 192) | async fn find_ticket( method add_ticket (line 233) | async fn add_ticket( method consume_ticket (line 295) | async fn consume_ticket( method cleanup (line 342) | async fn cleanup( FILE: crates/storage-pg/src/user/registration.rs type PgUserRegistrationRepository (line 26) | pub struct PgUserRegistrationRepository<'c> { function new (line 33) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserRegistrationLookup (line 38) | struct UserRegistrationLookup { type Error (line 56) | type Error = DatabaseInconsistencyError; method try_from (line 58) | fn try_from(value: UserRegistrationLookup) -> Result { type Error (line 116) | type Error = DatabaseError; method lookup (line 127) | async fn lookup(&mut self, id: Ulid) -> Result,... method add (line 168) | async fn add( method set_display_name (line 231) | async fn set_display_name( method set_terms_url (line 266) | async fn set_terms_url( method set_email_authentication (line 302) | async fn set_email_authentication( method set_password (line 338) | async fn set_password( method set_registration_token (line 378) | async fn set_registration_token( method set_upstream_oauth_authorization_session (line 413) | async fn set_upstream_oauth_authorization_session( method complete (line 448) | async fn complete( method cleanup (line 482) | async fn cleanup( function test_create_lookup_complete (line 541) | async fn test_create_lookup_complete(pool: PgPool) { function test_create_useragent_ipaddress (line 612) | async fn test_create_useragent_ipaddress(pool: PgPool) { function test_set_display_name (line 656) | async fn test_set_display_name(pool: PgPool) { function test_set_terms_url (line 720) | async fn test_set_terms_url(pool: PgPool) { function test_set_email_authentication (line 790) | async fn test_set_email_authentication(pool: PgPool) { function test_set_password (line 877) | async fn test_set_password(pool: PgPool) { function test_set_upstream_oauth_session (line 953) | async fn test_set_upstream_oauth_session(pool: PgPool) { FILE: crates/storage-pg/src/user/registration_token.rs type PgUserRegistrationTokenRepository (line 32) | pub struct PgUserRegistrationTokenRepository<'c> { function new (line 39) | pub fn new(conn: &'c mut PgConnection) -> Self { type UserRegistrationTokenLookup (line 46) | struct UserRegistrationTokenLookup { method cursor (line 58) | fn cursor(&self) -> Ulid { method generate_condition (line 64) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 187) | type Error = DatabaseInconsistencyError; method try_from (line 189) | fn try_from(res: UserRegistrationTokenLookup) -> Result Result... method lookup (line 358) | async fn lookup(&mut self, id: Ulid) -> Result { function new (line 45) | pub fn new(conn: &'c mut PgConnection) -> Self { type SessionLookup (line 53) | struct SessionLookup { method cursor (line 70) | fn cursor(&self) -> Ulid { type Error (line 76) | type Error = DatabaseInconsistencyError; method try_from (line 78) | fn try_from(value: SessionLookup) -> Result { type AuthenticationLookup (line 103) | struct AuthenticationLookup { type Error (line 111) | type Error = DatabaseInconsistencyError; method try_from (line 113) | fn try_from(value: AuthenticationLookup) -> Result { function generate_condition (line 140) | fn generate_condition(&self, _has_joins: bool) -> impl sea_query::IntoCo... type Error (line 175) | type Error = DatabaseError; method lookup (line 186) | async fn lookup(&mut self, id: Ulid) -> Result, S... method add (line 229) | async fn add( method finish (line 277) | async fn finish( method finish_bulk (line 311) | async fn finish_bulk( method list (line 339) | async fn list( method count (line 430) | async fn count(&mut self, filter: BrowserSessionFilter<'_>) -> Result { function new (line 26) | pub fn new(conn: &'c mut PgConnection) -> Self { type Error (line 33) | type Error = DatabaseError; method accept_terms (line 46) | async fn accept_terms( FILE: crates/storage-pg/src/user/tests.rs function test_user_repo (line 28) | async fn test_user_repo(pool: PgPool) { function test_user_repo_find_by_username (line 238) | async fn test_user_repo_find_by_username(pool: PgPool) { function test_user_email_repo (line 282) | async fn test_user_email_repo(pool: PgPool) { function test_user_email_repo_authentications (line 410) | async fn test_user_email_repo_authentications(pool: PgPool) { function test_user_password_repo (line 525) | async fn test_user_password_repo(pool: PgPool) { function test_user_session (line 607) | async fn test_user_session(pool: PgPool) { function test_user_terms (line 838) | async fn test_user_terms(pool: PgPool) { FILE: crates/storage/src/app_session.rs type AppSessionState (line 17) | pub enum AppSessionState { method is_active (line 27) | pub fn is_active(self) -> bool { method is_finished (line 33) | pub fn is_finished(self) -> bool { type AppSession (line 40) | pub enum AppSession { type AppSessionFilter (line 50) | pub struct AppSessionFilter<'a> { function new (line 62) | pub fn new() -> Self { function for_user (line 68) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 75) | pub fn user(&self) -> Option<&'a User> { function for_browser_session (line 81) | pub fn for_browser_session(mut self, browser_session: &'a BrowserSession... function browser_session (line 88) | pub fn browser_session(&self) -> Option<&'a BrowserSession> { function for_device (line 94) | pub fn for_device(mut self, device_id: &'a Device) -> Self { function device (line 101) | pub fn device(&self) -> Option<&'a Device> { function with_last_active_before (line 107) | pub fn with_last_active_before(mut self, last_active_before: DateTime... function last_active_before (line 123) | pub fn last_active_before(&self) -> Option> { function last_active_after (line 131) | pub fn last_active_after(&self) -> Option> { function active_only (line 137) | pub fn active_only(mut self) -> Self { function finished_only (line 144) | pub fn finished_only(mut self) -> Self { function state (line 151) | pub fn state(&self) -> Option { type AppSessionRepository (line 159) | pub trait AppSessionRepository: Send + Sync { method list (line 175) | async fn list( method count (line 190) | async fn count(&mut self, filter: AppSessionFilter<'_>) -> Result Result Result bool { method is_finished (line 33) | pub fn is_finished(self) -> bool { type CompatSessionType (line 39) | pub enum CompatSessionType { method is_sso_login (line 47) | pub fn is_sso_login(self) -> bool { method is_unknown (line 53) | pub fn is_unknown(self) -> bool { type CompatSessionFilter (line 60) | pub struct CompatSessionFilter<'a> { function new (line 74) | pub fn new() -> Self { function for_user (line 80) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 87) | pub fn user(&self) -> Option<&'a User> { function for_device (line 93) | pub fn for_device(mut self, device: &'a Device) -> Self { function device (line 100) | pub fn device(&self) -> Option<&'a Device> { function for_browser_session (line 106) | pub fn for_browser_session(mut self, browser_session: &'a BrowserSession... function for_browser_sessions (line 113) | pub fn for_browser_sessions( function browser_session (line 123) | pub fn browser_session(&self) -> Option<&'a BrowserSession> { function browser_session_filter (line 129) | pub fn browser_session_filter(&self) -> Option> { function with_last_active_before (line 135) | pub fn with_last_active_before(mut self, last_active_before: DateTime... function last_active_before (line 151) | pub fn last_active_before(&self) -> Option> { function last_active_after (line 159) | pub fn last_active_after(&self) -> Option> { function active_only (line 165) | pub fn active_only(mut self) -> Self { function finished_only (line 172) | pub fn finished_only(mut self) -> Self { function state (line 179) | pub fn state(&self) -> Option { function sso_login_only (line 185) | pub fn sso_login_only(mut self) -> Self { function unknown_only (line 192) | pub fn unknown_only(mut self) -> Self { function auth_type (line 199) | pub fn auth_type(&self) -> Option { type CompatSessionRepository (line 207) | pub trait CompatSessionRepository: Send + Sync { method lookup (line 222) | async fn lookup(&mut self, id: Ulid) -> Result, ... method add (line 243) | async fn add( method finish (line 266) | async fn finish( method finish_bulk (line 284) | async fn finish_bulk( method list (line 302) | async fn list( method count (line 317) | async fn count(&mut self, filter: CompatSessionFilter<'_>) -> Result bool { method is_fulfilled (line 31) | pub fn is_fulfilled(self) -> bool { method is_exchanged (line 37) | pub fn is_exchanged(self) -> bool { type CompatSsoLoginFilter (line 44) | pub struct CompatSsoLoginFilter<'a> { function new (line 52) | pub fn new() -> Self { function for_user (line 58) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 65) | pub fn user(&self) -> Option<&User> { function pending_only (line 71) | pub fn pending_only(mut self) -> Self { function fulfilled_only (line 78) | pub fn fulfilled_only(mut self) -> Self { function exchanged_only (line 85) | pub fn exchanged_only(mut self) -> Self { function state (line 92) | pub fn state(&self) -> Option { type CompatSsoLoginRepository (line 100) | pub trait CompatSsoLoginRepository: Send + Sync { method lookup (line 115) | async fn lookup(&mut self, id: Ulid) -> Result,... method find_for_session (line 128) | async fn find_for_session( method find_by_token (line 144) | async fn find_by_token( method add (line 163) | async fn add( method fulfill (line 185) | async fn fulfill( method exchange (line 206) | async fn exchange( method list (line 225) | async fn list( method count (line 240) | async fn count(&mut self, filter: CompatSsoLoginFilter<'_>) -> Result<... FILE: crates/storage/src/oauth2/access_token.rs type OAuth2AccessTokenRepository (line 19) | pub trait OAuth2AccessTokenRepository: Send + Sync { method lookup (line 34) | async fn lookup(&mut self, id: Ulid) -> Result, Se... method find_by_token (line 47) | async fn find_by_token( method add (line 68) | async fn add( method revoke (line 89) | async fn revoke( method mark_used (line 105) | async fn mark_used( method cleanup_revoked (line 126) | async fn cleanup_revoked( method cleanup_expired (line 148) | async fn cleanup_expired( FILE: crates/storage/src/oauth2/authorization_grant.rs type OAuth2AuthorizationGrantRepository (line 20) | pub trait OAuth2AuthorizationGrantRepository: Send + Sync { method add (line 50) | async fn add( method lookup (line 77) | async fn lookup(&mut self, id: Ulid) -> Result Result, Self::E... method find_by_client_id (line 41) | async fn find_by_client_id(&mut self, client_id: &str) -> Result Result, Self::Error>; method delete (line 185) | async fn delete(&mut self, client: Client) -> Result<(), Self::Error> { method delete_by_id (line 199) | async fn delete_by_id(&mut self, id: Ulid) -> Result<(), Self::Error>; FILE: crates/storage/src/oauth2/device_code_grant.rs type OAuth2DeviceCodeGrantParams (line 20) | pub struct OAuth2DeviceCodeGrantParams<'a> { type OAuth2DeviceCodeGrantRepository (line 46) | pub trait OAuth2DeviceCodeGrantRepository: Send + Sync { method add (line 64) | async fn add( method lookup (line 82) | async fn lookup(&mut self, id: Ulid) -> Result... method find_by_device_code (line 95) | async fn find_by_device_code( method find_by_user_code (line 111) | async fn find_by_user_code( method fulfill (line 133) | async fn fulfill( method reject (line 157) | async fn reject( method exchange (line 181) | async fn exchange( method cleanup (line 205) | async fn cleanup( FILE: crates/storage/src/oauth2/refresh_token.rs type OAuth2RefreshTokenRepository (line 18) | pub trait OAuth2RefreshTokenRepository: Send + Sync { method lookup (line 33) | async fn lookup(&mut self, id: Ulid) -> Result, S... method find_by_token (line 46) | async fn find_by_token( method add (line 67) | async fn add( method consume (line 90) | async fn consume( method revoke (line 110) | async fn revoke( method cleanup_revoked (line 130) | async fn cleanup_revoked( method cleanup_consumed (line 155) | async fn cleanup_consumed( FILE: crates/storage/src/oauth2/session.rs type OAuth2SessionState (line 20) | pub enum OAuth2SessionState { method is_active (line 26) | pub fn is_active(self) -> bool { method is_finished (line 30) | pub fn is_finished(self) -> bool { type ClientKind (line 36) | pub enum ClientKind { method is_static (line 42) | pub fn is_static(self) -> bool { type OAuth2SessionFilter (line 49) | pub struct OAuth2SessionFilter<'a> { function new (line 66) | pub fn new() -> Self { function for_user (line 72) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 81) | pub fn user(&self) -> Option<&'a User> { function for_any_user (line 87) | pub fn for_any_user(mut self) -> Self { function for_no_user (line 94) | pub fn for_no_user(mut self) -> Self { function any_user (line 103) | pub fn any_user(&self) -> Option { function for_browser_session (line 109) | pub fn for_browser_session(mut self, browser_session: &'a BrowserSession... function for_browser_sessions (line 116) | pub fn for_browser_sessions( function browser_session (line 128) | pub fn browser_session(&self) -> Option<&'a BrowserSession> { function browser_session_filter (line 136) | pub fn browser_session_filter(&self) -> Option> { function for_client (line 142) | pub fn for_client(mut self, client: &'a Client) -> Self { function client (line 151) | pub fn client(&self) -> Option<&'a Client> { function only_static_clients (line 157) | pub fn only_static_clients(mut self) -> Self { function only_dynamic_clients (line 164) | pub fn only_dynamic_clients(mut self) -> Self { function client_kind (line 173) | pub fn client_kind(&self) -> Option { function with_last_active_before (line 179) | pub fn with_last_active_before(mut self, last_active_before: DateTime... function last_active_before (line 195) | pub fn last_active_before(&self) -> Option> { function last_active_after (line 203) | pub fn last_active_after(&self) -> Option> { function active_only (line 209) | pub fn active_only(mut self) -> Self { function finished_only (line 216) | pub fn finished_only(mut self) -> Self { function state (line 225) | pub fn state(&self) -> Option { function with_scope (line 231) | pub fn with_scope(mut self, scope: &'a Scope) -> Self { function scope (line 240) | pub fn scope(&self) -> Option<&'a Scope> { function for_device (line 246) | pub fn for_device(mut self, device: &'a Device) -> Self { function device (line 255) | pub fn device(&self) -> Option<&'a Device> { type OAuth2SessionRepository (line 263) | pub trait OAuth2SessionRepository: Send + Sync { method lookup (line 278) | async fn lookup(&mut self, id: Ulid) -> Result, Self::... method add (line 297) | async fn add( method add_from_browser_session (line 323) | async fn add_from_browser_session( method add_from_client_credentials (line 357) | async fn add_from_client_credentials( method finish (line 379) | async fn finish(&mut self, clock: &dyn Clock, session: Session) method finish_bulk (line 394) | async fn finish_bulk( method list (line 410) | async fn list( method count (line 425) | async fn count(&mut self, filter: OAuth2SessionFilter<'_>) -> Result { type PaginationDirection (line 35) | pub enum PaginationDirection { type Node (line 44) | pub trait Node { method cursor (line 46) | fn cursor(&self) -> C; function try_new (line 56) | pub fn try_new( function first (line 78) | pub const fn first(first: usize) -> Self { function last (line 89) | pub const fn last(last: usize) -> Self { function before (line 100) | pub fn before(mut self, cursor: C) -> Self { function clear_before (line 107) | pub fn clear_before(mut self) -> Self { function after (line 114) | pub fn after(mut self, cursor: C) -> Self { function clear_after (line 121) | pub fn clear_after(mut self) -> Self { function process (line 128) | pub fn process>(&self, mut nodes: Vec) -> Page { type Edge (line 161) | pub struct Edge { type Page (line 170) | pub struct Page { function map (line 188) | pub fn map(self, mut f: F) -> Page function try_map (line 216) | pub fn try_map(self, mut f: F) -> Result, E> FILE: crates/storage/src/personal/access_token.rs type PersonalAccessTokenRepository (line 20) | pub trait PersonalAccessTokenRepository: Send + Sync { method lookup (line 35) | async fn lookup(&mut self, id: Ulid) -> Result Result... method add (line 62) | async fn add( method revoke (line 84) | async fn revoke( method revoke_bulk (line 102) | async fn revoke_bulk( method list (line 119) | async fn list( method count (line 134) | async fn count(&mut self, filter: PersonalSessionFilter<'_>) -> Result... method record_batch_activity (line 146) | async fn record_batch_activity( type PersonalSessionFilter (line 194) | pub struct PersonalSessionFilter<'a> { type PersonalSessionState (line 210) | pub enum PersonalSessionState { function new (line 222) | pub fn new() -> Self { function for_owner_user (line 228) | pub fn for_owner_user(mut self, user: &'a User) -> Self { function owner_oauth2_client (line 237) | pub fn owner_oauth2_client(&self) -> Option<&'a Client> { function for_owner_oauth2_client (line 243) | pub fn for_owner_oauth2_client(mut self, client: &'a Client) -> Self { function owner_user (line 252) | pub fn owner_user(&self) -> Option<&'a User> { function for_actor_user (line 258) | pub fn for_actor_user(mut self, user: &'a User) -> Self { function actor_user (line 267) | pub fn actor_user(&self) -> Option<&'a User> { function with_last_active_before (line 273) | pub fn with_last_active_before(mut self, last_active_before: DateTime... function last_active_before (line 289) | pub fn last_active_before(&self) -> Option> { function last_active_after (line 297) | pub fn last_active_after(&self) -> Option> { function active_only (line 303) | pub fn active_only(mut self) -> Self { function finished_only (line 310) | pub fn finished_only(mut self) -> Self { function state (line 319) | pub fn state(&self) -> Option { function with_scope (line 325) | pub fn with_scope(mut self, scope: &'a Scope) -> Self { function scope (line 334) | pub fn scope(&self) -> Option<&'a Scope> { function for_device (line 340) | pub fn for_device(mut self, device: &'a Device) -> Self { function device (line 349) | pub fn device(&self) -> Option<&'a Device> { function with_expires_before (line 355) | pub fn with_expires_before(mut self, expires_before: DateTime) -> S... function expires_before (line 364) | pub fn expires_before(&self) -> Option> { function with_expires_after (line 370) | pub fn with_expires_after(mut self, expires_after: DateTime) -> Self { function expires_after (line 379) | pub fn expires_after(&self) -> Option> { function with_expires (line 386) | pub fn with_expires(mut self, expires: bool) -> Self { function expires (line 395) | pub fn expires(&self) -> Option { FILE: crates/storage/src/policy_data.rs type PolicyDataRepository (line 17) | pub trait PolicyDataRepository: Send + Sync { method get (line 29) | async fn get(&mut self) -> Result, Self::Error>; method set (line 44) | async fn set( method prune (line 62) | async fn prune(&mut self, keep: usize) -> Result; FILE: crates/storage/src/queue/job.rs type Job (line 22) | pub struct Job { type JobMetadata (line 41) | pub struct JobMetadata { method new (line 53) | fn new(span_context: &opentelemetry::trace::SpanContext) -> Self { method span_context (line 63) | pub fn span_context(&self) -> opentelemetry::trace::SpanContext { type InsertableJob (line 77) | pub trait InsertableJob: Serialize + Send { constant QUEUE_NAME (line 79) | const QUEUE_NAME: &'static str; type QueueJobRepository (line 85) | pub trait QueueJobRepository: Send + Sync { method schedule (line 102) | async fn schedule( method schedule_later (line 128) | async fn schedule_later( method reserve (line 151) | async fn reserve( method mark_as_completed (line 169) | async fn mark_as_completed(&mut self, clock: &dyn Clock, id: Ulid) -> ... method mark_as_failed (line 182) | async fn mark_as_failed( method retry (line 200) | async fn retry( method schedule_available_jobs (line 216) | async fn schedule_available_jobs(&mut self, clock: &dyn Clock) -> Resu... method cleanup (line 235) | async fn cleanup( type QueueJobRepositoryExt (line 302) | pub trait QueueJobRepositoryExt: QueueJobRepository { method schedule_job (line 314) | async fn schedule_job( method schedule_job_later (line 333) | async fn schedule_job_later( method schedule_job (line 354) | async fn schedule_job( method schedule_job_later (line 381) | async fn schedule_job_later( FILE: crates/storage/src/queue/schedule.rs type ScheduleStatus (line 15) | pub struct ScheduleStatus { type QueueScheduleRepository (line 27) | pub trait QueueScheduleRepository: Send + Sync { method setup (line 40) | async fn setup(&mut self, schedules: &[&'static str]) -> Result<(), Se... method list (line 47) | async fn list(&mut self) -> Result, Self::Error>; FILE: crates/storage/src/queue/tasks.rs type VerifyEmailJob (line 22) | pub struct VerifyEmailJob { method user_email_id (line 30) | pub fn user_email_id(&self) -> Ulid { constant QUEUE_NAME (line 36) | const QUEUE_NAME: &'static str = "verify-email"; type SendEmailAuthenticationCodeJob (line 41) | pub struct SendEmailAuthenticationCodeJob { method new (line 49) | pub fn new(user_email_authentication: &UserEmailAuthentication, langua... method language (line 58) | pub fn language(&self) -> &str { method user_email_authentication_id (line 64) | pub fn user_email_authentication_id(&self) -> Ulid { constant QUEUE_NAME (line 70) | const QUEUE_NAME: &'static str = "send-email-authentication-code"; type ProvisionUserJob (line 75) | pub struct ProvisionUserJob { method new (line 83) | pub fn new(user: &User) -> Self { method new_for_id (line 92) | pub fn new_for_id(user_id: Ulid) -> Self { method set_display_name (line 101) | pub fn set_display_name(mut self, display_name: String) -> Self { method display_name_to_set (line 108) | pub fn display_name_to_set(&self) -> Option<&str> { method user_id (line 114) | pub fn user_id(&self) -> Ulid { constant QUEUE_NAME (line 120) | const QUEUE_NAME: &'static str = "provision-user"; type ProvisionDeviceJob (line 128) | pub struct ProvisionDeviceJob { method user_id (line 136) | pub fn user_id(&self) -> Ulid { method device_id (line 142) | pub fn device_id(&self) -> &str { constant QUEUE_NAME (line 148) | const QUEUE_NAME: &'static str = "provision-device"; type DeleteDeviceJob (line 156) | pub struct DeleteDeviceJob { method new (line 164) | pub fn new(user: &User, device: &Device) -> Self { method user_id (line 173) | pub fn user_id(&self) -> Ulid { method device_id (line 179) | pub fn device_id(&self) -> &str { constant QUEUE_NAME (line 185) | const QUEUE_NAME: &'static str = "delete-device"; type SyncDevicesJob (line 190) | pub struct SyncDevicesJob { method new (line 198) | pub fn new(user: &User) -> Self { method new_for_id (line 207) | pub fn new_for_id(user_id: Ulid) -> Self { method user_id (line 213) | pub fn user_id(&self) -> Ulid { constant QUEUE_NAME (line 219) | const QUEUE_NAME: &'static str = "sync-devices"; type DeactivateUserJob (line 224) | pub struct DeactivateUserJob { method new (line 237) | pub fn new(user: &User, hs_erase: bool) -> Self { method user_id (line 246) | pub fn user_id(&self) -> Ulid { method hs_erase (line 252) | pub fn hs_erase(&self) -> bool { constant QUEUE_NAME (line 258) | const QUEUE_NAME: &'static str = "deactivate-user"; type ReactivateUserJob (line 263) | pub struct ReactivateUserJob { method new (line 274) | pub fn new(user: &User) -> Self { method user_id (line 280) | pub fn user_id(&self) -> Ulid { constant QUEUE_NAME (line 286) | const QUEUE_NAME: &'static str = "reactivate-user"; type SendAccountRecoveryEmailsJob (line 291) | pub struct SendAccountRecoveryEmailsJob { method new (line 304) | pub fn new(user_recovery_session: &UserRecoverySession) -> Self { method user_recovery_session_id (line 312) | pub fn user_recovery_session_id(&self) -> Ulid { constant QUEUE_NAME (line 318) | const QUEUE_NAME: &'static str = "send-account-recovery-email"; type CleanupRevokedOAuthAccessTokensJob (line 323) | pub struct CleanupRevokedOAuthAccessTokensJob; constant QUEUE_NAME (line 326) | const QUEUE_NAME: &'static str = "cleanup-revoked-oauth-access-tokens"; type CleanupExpiredOAuthAccessTokensJob (line 331) | pub struct CleanupExpiredOAuthAccessTokensJob; constant QUEUE_NAME (line 334) | const QUEUE_NAME: &'static str = "cleanup-expired-oauth-access-tokens"; type CleanupRevokedOAuthRefreshTokensJob (line 339) | pub struct CleanupRevokedOAuthRefreshTokensJob; constant QUEUE_NAME (line 342) | const QUEUE_NAME: &'static str = "cleanup-revoked-oauth-refresh-tokens"; type CleanupConsumedOAuthRefreshTokensJob (line 347) | pub struct CleanupConsumedOAuthRefreshTokensJob; constant QUEUE_NAME (line 350) | const QUEUE_NAME: &'static str = "cleanup-consumed-oauth-refresh-tokens"; type CleanupUserRegistrationsJob (line 355) | pub struct CleanupUserRegistrationsJob; constant QUEUE_NAME (line 358) | const QUEUE_NAME: &'static str = "cleanup-user-registrations"; type CleanupFinishedCompatSessionsJob (line 363) | pub struct CleanupFinishedCompatSessionsJob; constant QUEUE_NAME (line 366) | const QUEUE_NAME: &'static str = "cleanup-finished-compat-sessions"; type CleanupFinishedOAuth2SessionsJob (line 371) | pub struct CleanupFinishedOAuth2SessionsJob; constant QUEUE_NAME (line 374) | const QUEUE_NAME: &'static str = "cleanup-finished-oauth2-sessions"; type CleanupFinishedUserSessionsJob (line 379) | pub struct CleanupFinishedUserSessionsJob; constant QUEUE_NAME (line 382) | const QUEUE_NAME: &'static str = "cleanup-finished-user-sessions"; type CleanupOAuthAuthorizationGrantsJob (line 387) | pub struct CleanupOAuthAuthorizationGrantsJob; constant QUEUE_NAME (line 390) | const QUEUE_NAME: &'static str = "cleanup-oauth-authorization-grants"; type CleanupOAuthDeviceCodeGrantsJob (line 395) | pub struct CleanupOAuthDeviceCodeGrantsJob; constant QUEUE_NAME (line 398) | const QUEUE_NAME: &'static str = "cleanup-oauth-device-code-grants"; type CleanupUserRecoverySessionsJob (line 403) | pub struct CleanupUserRecoverySessionsJob; constant QUEUE_NAME (line 406) | const QUEUE_NAME: &'static str = "cleanup-user-recovery-sessions"; type CleanupUserEmailAuthenticationsJob (line 411) | pub struct CleanupUserEmailAuthenticationsJob; constant QUEUE_NAME (line 414) | const QUEUE_NAME: &'static str = "cleanup-user-email-authentications"; type CleanupUpstreamOAuthSessionsJob (line 419) | pub struct CleanupUpstreamOAuthSessionsJob; constant QUEUE_NAME (line 422) | const QUEUE_NAME: &'static str = "cleanup-upstream-oauth-sessions"; type CleanupUpstreamOAuthLinksJob (line 427) | pub struct CleanupUpstreamOAuthLinksJob; constant QUEUE_NAME (line 430) | const QUEUE_NAME: &'static str = "cleanup-upstream-oauth-links"; type CleanupQueueJobsJob (line 435) | pub struct CleanupQueueJobsJob; constant QUEUE_NAME (line 438) | const QUEUE_NAME: &'static str = "cleanup-queue-jobs"; type ExpireInactiveSessionsJob (line 446) | pub struct ExpireInactiveSessionsJob; constant QUEUE_NAME (line 449) | const QUEUE_NAME: &'static str = "expire-inactive-sessions"; type ExpireInactiveOAuthSessionsJob (line 454) | pub struct ExpireInactiveOAuthSessionsJob { method new (line 466) | pub fn new(threshold: DateTime) -> Self { method threshold (line 475) | pub fn threshold(&self) -> DateTime { method pagination (line 481) | pub fn pagination(&self, batch_size: usize) -> Pagination { method next (line 492) | pub fn next(&self, page: &Page) -> Option { constant QUEUE_NAME (line 506) | const QUEUE_NAME: &'static str = "expire-inactive-oauth-sessions"; type ExpireInactiveCompatSessionsJob (line 511) | pub struct ExpireInactiveCompatSessionsJob { method new (line 523) | pub fn new(threshold: DateTime) -> Self { method threshold (line 532) | pub fn threshold(&self) -> DateTime { method pagination (line 538) | pub fn pagination(&self, batch_size: usize) -> Pagination { method next (line 549) | pub fn next(&self, page: &Page) -> Option { constant QUEUE_NAME (line 563) | const QUEUE_NAME: &'static str = "expire-inactive-compat-sessions"; type ExpireInactiveUserSessionsJob (line 568) | pub struct ExpireInactiveUserSessionsJob { method new (line 580) | pub fn new(threshold: DateTime) -> Self { method threshold (line 589) | pub fn threshold(&self) -> DateTime { method pagination (line 595) | pub fn pagination(&self, batch_size: usize) -> Pagination { method next (line 606) | pub fn next(&self, page: &Page) -> Option { constant QUEUE_NAME (line 620) | const QUEUE_NAME: &'static str = "expire-inactive-user-sessions"; type PruneStalePolicyDataJob (line 625) | pub struct PruneStalePolicyDataJob; constant QUEUE_NAME (line 628) | const QUEUE_NAME: &'static str = "prune-stale-policy-data"; type CleanupInactiveOAuth2SessionIpsJob (line 633) | pub struct CleanupInactiveOAuth2SessionIpsJob; constant QUEUE_NAME (line 636) | const QUEUE_NAME: &'static str = "cleanup-inactive-oauth2-session-ips"; type CleanupInactiveCompatSessionIpsJob (line 641) | pub struct CleanupInactiveCompatSessionIpsJob; constant QUEUE_NAME (line 644) | const QUEUE_NAME: &'static str = "cleanup-inactive-compat-session-ips"; type CleanupInactiveUserSessionIpsJob (line 649) | pub struct CleanupInactiveUserSessionIpsJob; constant QUEUE_NAME (line 652) | const QUEUE_NAME: &'static str = "cleanup-inactive-user-session-ips"; FILE: crates/storage/src/queue/worker.rs type Worker (line 17) | pub struct Worker { type QueueWorkerRepository (line 25) | pub trait QueueWorkerRepository: Send + Sync { method register (line 36) | async fn register( method heartbeat (line 48) | async fn heartbeat(&mut self, clock: &dyn Clock, worker: &Worker) -> R... method shutdown (line 55) | async fn shutdown(&mut self, clock: &dyn Clock, worker: &Worker) -> Re... method shutdown_dead_workers (line 62) | async fn shutdown_dead_workers( method remove_leader_lease_if_expired (line 74) | async fn remove_leader_lease_if_expired( method try_get_leader_lease (line 86) | async fn try_get_leader_lease( FILE: crates/storage/src/repository.rs type RepositoryFactory (line 39) | pub trait RepositoryFactory { method create (line 41) | async fn create(&self) -> Result; type BoxRepositoryFactory (line 45) | pub type BoxRepositoryFactory = Box: type RepositoryError (line 58) | pub struct RepositoryError { method from_error (line 64) | pub fn from_error(value: E) -> Self type BoxRepository (line 75) | pub type BoxRepository = Box + Send + Sy... type RepositoryTransaction (line 79) | pub trait RepositoryTransaction { method save (line 89) | fn save(self: Box) -> BoxFuture<'static, Result<(), Self::Error>>; method cancel (line 97) | fn cancel(self: Box) -> BoxFuture<'static, Result<(), Self::Erro... type Error (line 293) | type Error = E; method save (line 295) | fn save(self: Box) -> BoxFuture<'static, Result<(), Self::Error>> { method cancel (line 299) | fn cancel(self: Box) -> BoxFuture<'static, Result<(), Self::Erro... type RepositoryAccess (line 115) | pub trait RepositoryAccess: Send { method upstream_oauth_link (line 120) | fn upstream_oauth_link<'c>( method upstream_oauth_provider (line 125) | fn upstream_oauth_provider<'c>( method upstream_oauth_session (line 130) | fn upstream_oauth_session<'c>( method user (line 135) | fn user<'c>(&'c mut self) -> Box(&'c mut self) -> Box(&'c mut self) method user_recovery (line 145) | fn user_recovery<'c>(&'c mut self) method user_registration (line 149) | fn user_registration<'c>( method user_registration_token (line 154) | fn user_registration_token<'c>( method user_terms (line 159) | fn user_terms<'c>(&'c mut self) -> Box( method app_session (line 167) | fn app_session<'c>(&'c mut self) -> Box(&'c mut self) method oauth2_authorization_grant (line 174) | fn oauth2_authorization_grant<'c>( method oauth2_session (line 179) | fn oauth2_session<'c>( method oauth2_access_token (line 184) | fn oauth2_access_token<'c>( method oauth2_refresh_token (line 189) | fn oauth2_refresh_token<'c>( method oauth2_device_code_grant (line 194) | fn oauth2_device_code_grant<'c>( method compat_session (line 199) | fn compat_session<'c>( method compat_sso_login (line 204) | fn compat_sso_login<'c>( method compat_access_token (line 209) | fn compat_access_token<'c>( method compat_refresh_token (line 214) | fn compat_refresh_token<'c>( method personal_access_token (line 219) | fn personal_access_token<'c>( method personal_session (line 224) | fn personal_session<'c>( method queue_worker (line 229) | fn queue_worker<'c>(&'c mut self) -> Box(&'c mut self) -> Box( method policy_data (line 240) | fn policy_data<'c>(&'c mut self) -> Box( method upstream_oauth_provider (line 323) | fn upstream_oauth_provider<'c>( method upstream_oauth_session (line 332) | fn upstream_oauth_session<'c>( method user (line 341) | fn user<'c>(&'c mut self) -> Box(&'c mut self) -> Box( method user_recovery (line 355) | fn user_recovery<'c>( method user_registration (line 361) | fn user_registration<'c>( method user_registration_token (line 370) | fn user_registration_token<'c>( method user_terms (line 379) | fn user_terms<'c>(&'c mut self) -> Box( method app_session (line 389) | fn app_session<'c>( method oauth2_client (line 395) | fn oauth2_client<'c>( method oauth2_authorization_grant (line 401) | fn oauth2_authorization_grant<'c>( method oauth2_session (line 410) | fn oauth2_session<'c>( method oauth2_access_token (line 416) | fn oauth2_access_token<'c>( method oauth2_refresh_token (line 425) | fn oauth2_refresh_token<'c>( method oauth2_device_code_grant (line 434) | fn oauth2_device_code_grant<'c>( method compat_session (line 443) | fn compat_session<'c>( method compat_sso_login (line 449) | fn compat_sso_login<'c>( method compat_access_token (line 455) | fn compat_access_token<'c>( method compat_refresh_token (line 464) | fn compat_refresh_token<'c>( method personal_access_token (line 473) | fn personal_access_token<'c>( method personal_session (line 482) | fn personal_session<'c>( method queue_worker (line 488) | fn queue_worker<'c>( method queue_job (line 494) | fn queue_job<'c>(&'c mut self) -> Box( method policy_data (line 504) | fn policy_data<'c>( type Error (line 512) | type Error = R::Error; method upstream_oauth_link (line 514) | fn upstream_oauth_link<'c>( method upstream_oauth_provider (line 520) | fn upstream_oauth_provider<'c>( method upstream_oauth_session (line 526) | fn upstream_oauth_session<'c>( method user (line 532) | fn user<'c>(&'c mut self) -> Box(&'c mut self) -> Box( method user_recovery (line 546) | fn user_recovery<'c>( method user_registration (line 552) | fn user_registration<'c>( method user_registration_token (line 558) | fn user_registration_token<'c>( method user_terms (line 564) | fn user_terms<'c>(&'c mut self) -> Box( method app_session (line 574) | fn app_session<'c>( method oauth2_client (line 580) | fn oauth2_client<'c>( method oauth2_authorization_grant (line 586) | fn oauth2_authorization_grant<'c>( method oauth2_session (line 592) | fn oauth2_session<'c>( method oauth2_access_token (line 598) | fn oauth2_access_token<'c>( method oauth2_refresh_token (line 604) | fn oauth2_refresh_token<'c>( method oauth2_device_code_grant (line 610) | fn oauth2_device_code_grant<'c>( method compat_session (line 616) | fn compat_session<'c>( method compat_sso_login (line 622) | fn compat_sso_login<'c>( method compat_access_token (line 628) | fn compat_access_token<'c>( method compat_refresh_token (line 634) | fn compat_refresh_token<'c>( method personal_access_token (line 640) | fn personal_access_token<'c>( method personal_session (line 646) | fn personal_session<'c>( method queue_worker (line 652) | fn queue_worker<'c>( method queue_job (line 658) | fn queue_job<'c>(&'c mut self) -> Box( method policy_data (line 668) | fn policy_data<'c>( FILE: crates/storage/src/upstream_oauth2/link.rs type UpstreamOAuthLinkFilter (line 17) | pub struct UpstreamOAuthLinkFilter<'a> { function new (line 28) | pub fn new() -> Self { function for_user (line 34) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 43) | pub fn user(&self) -> Option<&User> { function for_provider (line 49) | pub fn for_provider(mut self, provider: &'a UpstreamOAuthProvider) -> Se... function provider (line 58) | pub fn provider(&self) -> Option<&UpstreamOAuthProvider> { function enabled_providers_only (line 64) | pub const fn enabled_providers_only(mut self) -> Self { function disabled_providers_only (line 71) | pub const fn disabled_providers_only(mut self) -> Self { function provider_enabled (line 78) | pub const fn provider_enabled(&self) -> Option { function for_subject (line 84) | pub const fn for_subject(mut self, subject: &'a str) -> Self { function subject (line 91) | pub const fn subject(&self) -> Option<&str> { type UpstreamOAuthLinkRepository (line 99) | pub trait UpstreamOAuthLinkRepository: Send + Sync { method lookup (line 114) | async fn lookup(&mut self, id: Ulid) -> Result) -> Resu... method remove (line 215) | async fn remove( method cleanup_orphaned (line 238) | async fn cleanup_orphaned( FILE: crates/storage/src/upstream_oauth2/provider.rs type UpstreamOAuthProviderParams (line 26) | pub struct UpstreamOAuthProviderParams { type UpstreamOAuthProviderFilter (line 112) | pub struct UpstreamOAuthProviderFilter<'a> { function new (line 124) | pub fn new() -> Self { function enabled_only (line 130) | pub const fn enabled_only(mut self) -> Self { function disabled_only (line 137) | pub const fn disabled_only(mut self) -> Self { function enabled (line 146) | pub const fn enabled(&self) -> Option { type UpstreamOAuthProviderRepository (line 154) | pub trait UpstreamOAuthProviderRepository: Send + Sync { method lookup (line 169) | async fn lookup(&mut self, id: Ulid) -> Result Result<... method delete_by_id (line 213) | async fn delete_by_id(&mut self, id: Ulid) -> Result<(), Self::Error>; method upsert (line 226) | async fn upsert( method disable (line 245) | async fn disable( method list (line 261) | async fn list( method count (line 276) | async fn count( method all_enabled (line 286) | async fn all_enabled(&mut self) -> Result, ... FILE: crates/storage/src/upstream_oauth2/session.rs type UpstreamOAuthSessionFilter (line 20) | pub struct UpstreamOAuthSessionFilter<'a> { function new (line 29) | pub fn new() -> Self { function for_provider (line 35) | pub fn for_provider(mut self, provider: &'a UpstreamOAuthProvider) -> Se... function provider (line 44) | pub fn provider(&self) -> Option<&UpstreamOAuthProvider> { function with_sub_claim (line 50) | pub fn with_sub_claim(mut self, sub_claim: &'a str) -> Self { function sub_claim (line 59) | pub fn sub_claim(&self) -> Option<&str> { function with_sid_claim (line 65) | pub fn with_sid_claim(mut self, sid_claim: &'a str) -> Self { function sid_claim (line 74) | pub fn sid_claim(&self) -> Option<&str> { type UpstreamOAuthSessionRepository (line 82) | pub trait UpstreamOAuthSessionRepository: Send + Sync { method lookup (line 97) | async fn lookup( method add (line 121) | async fn add( method complete_with_link (line 152) | async fn complete_with_link( method consume (line 177) | async fn consume( method list (line 195) | async fn list( method count (line 211) | async fn count(&mut self, filter: UpstreamOAuthSessionFilter<'_>) method cleanup_orphaned (line 232) | async fn cleanup_orphaned( FILE: crates/storage/src/user/email.rs type UserEmailFilter (line 20) | pub struct UserEmailFilter<'a> { function new (line 28) | pub fn new() -> Self { function for_user (line 34) | pub fn for_user(mut self, user: &'a User) -> Self { function for_email (line 43) | pub fn for_email(mut self, email: &'a str) -> Self { function user (line 52) | pub fn user(&self) -> Option<&User> { function email (line 60) | pub fn email(&self) -> Option<&str> { type UserEmailRepository (line 68) | pub trait UserEmailRepository: Send + Sync { method lookup (line 83) | async fn lookup(&mut self, id: Ulid) -> Result, Self... method find (line 99) | async fn find(&mut self, user: &User, email: &str) -> Result Result Result, Self::E... method list (line 137) | async fn list( method count (line 152) | async fn count(&mut self, filter: UserEmailFilter<'_>) -> Result Result<(), Self::... method remove_bulk (line 198) | async fn remove_bulk(&mut self, filter: UserEmailFilter<'_>) -> Result... method add_authentication_for_session (line 213) | async fn add_authentication_for_session( method add_authentication_for_registration (line 234) | async fn add_authentication_for_registration( method add_authentication_code (line 258) | async fn add_authentication_code( method lookup_authentication (line 276) | async fn lookup_authentication( method find_authentication_code (line 291) | async fn find_authentication_code( method complete_authentication_with_code (line 310) | async fn complete_authentication_with_code( method complete_authentication_with_upstream (line 332) | async fn complete_authentication_with_upstream( method cleanup_authentications (line 358) | async fn cleanup_authentications( FILE: crates/storage/src/user/mod.rs type UserState (line 37) | pub enum UserState { method is_locked (line 53) | pub fn is_locked(&self) -> bool { method is_deactivated (line 61) | pub fn is_deactivated(&self) -> bool { method is_active (line 69) | pub fn is_active(&self) -> bool { type UserFilter (line 76) | pub struct UserFilter<'a> { function new (line 86) | pub fn new() -> Self { function active_only (line 92) | pub fn active_only(mut self) -> Self { function locked_only (line 99) | pub fn locked_only(mut self) -> Self { function deactivated_only (line 106) | pub fn deactivated_only(mut self) -> Self { function can_request_admin_only (line 113) | pub fn can_request_admin_only(mut self) -> Self { function cannot_request_admin_only (line 120) | pub fn cannot_request_admin_only(mut self) -> Self { function guest_only (line 127) | pub fn guest_only(mut self) -> Self { function non_guest_only (line 134) | pub fn non_guest_only(mut self) -> Self { function matching_search (line 141) | pub fn matching_search(mut self, search: &'a str) -> Self { function state (line 150) | pub fn state(&self) -> Option { function can_request_admin (line 158) | pub fn can_request_admin(&self) -> Option { function is_guest (line 166) | pub fn is_guest(&self) -> Option { function search (line 174) | pub fn search(&self) -> Option<&'a str> { type UserRepository (line 182) | pub trait UserRepository: Send + Sync { method lookup (line 197) | async fn lookup(&mut self, id: Ulid) -> Result, Self::Err... method find_by_username (line 210) | async fn find_by_username(&mut self, username: &str) -> Result Result; method lock (line 257) | async fn lock(&mut self, clock: &dyn Clock, user: User) -> Result Result; method deactivate (line 284) | async fn deactivate(&mut self, clock: &dyn Clock, user: User) -> Resul... method reactivate (line 297) | async fn reactivate(&mut self, user: User) -> Result; method delete_unsupported_threepids (line 315) | async fn delete_unsupported_threepids(&mut self, user: &User) -> Resul... method set_can_request_admin (line 328) | async fn set_can_request_admin( method list (line 344) | async fn list( method count (line 359) | async fn count(&mut self, filter: UserFilter<'_>) -> Result Result<(), S... FILE: crates/storage/src/user/password.rs type UserPasswordRepository (line 16) | pub trait UserPasswordRepository: Send + Sync { method active (line 31) | async fn active(&mut self, user: &User) -> Result, Se... method add (line 49) | async fn add( FILE: crates/storage/src/user/recovery.rs type UserRecoveryRepository (line 20) | pub trait UserRecoveryRepository: Send + Sync { method lookup_session (line 35) | async fn lookup_session( method add_session (line 58) | async fn add_session( method find_ticket (line 79) | async fn find_ticket( method add_ticket (line 98) | async fn add_ticket( method consume_ticket (line 119) | async fn consume_ticket( method cleanup (line 144) | async fn cleanup( FILE: crates/storage/src/user/registration.rs type UserRegistrationRepository (line 23) | pub trait UserRegistrationRepository: Send + Sync { method lookup (line 38) | async fn lookup(&mut self, id: Ulid) -> Result) -> Self { method with_been_used (line 39) | pub fn with_been_used(mut self, has_been_used: bool) -> Self { method with_revoked (line 46) | pub fn with_revoked(mut self, is_revoked: bool) -> Self { method with_expired (line 53) | pub fn with_expired(mut self, is_expired: bool) -> Self { method with_valid (line 61) | pub fn with_valid(mut self, is_valid: bool) -> Self { method has_been_used (line 70) | pub fn has_been_used(&self) -> Option { method is_revoked (line 78) | pub fn is_revoked(&self) -> Option { method is_expired (line 86) | pub fn is_expired(&self) -> Option { method is_valid (line 94) | pub fn is_valid(&self) -> Option { method now (line 100) | pub fn now(&self) -> DateTime { type UserRegistrationTokenRepository (line 108) | pub trait UserRegistrationTokenRepository: Send + Sync { method lookup (line 123) | async fn lookup(&mut self, id: Ulid) -> Result Resu... FILE: crates/storage/src/user/session.rs type BrowserSessionState (line 23) | pub enum BrowserSessionState { method is_active (line 29) | pub fn is_active(self) -> bool { method is_finished (line 33) | pub fn is_finished(self) -> bool { type BrowserSessionFilter (line 40) | pub struct BrowserSessionFilter<'a> { function new (line 51) | pub fn new() -> Self { function for_user (line 57) | pub fn for_user(mut self, user: &'a User) -> Self { function user (line 64) | pub fn user(&self) -> Option<&User> { function with_last_active_before (line 70) | pub fn with_last_active_before(mut self, last_active_before: DateTime... function last_active_before (line 86) | pub fn last_active_before(&self) -> Option> { function last_active_after (line 94) | pub fn last_active_after(&self) -> Option> { function active_only (line 100) | pub fn active_only(mut self) -> Self { function finished_only (line 107) | pub fn finished_only(mut self) -> Self { function state (line 114) | pub fn state(&self) -> Option { function linked_to_upstream_sessions_only (line 120) | pub fn linked_to_upstream_sessions_only( function linked_to_upstream_sessions (line 130) | pub fn linked_to_upstream_sessions(&self) -> Option Result,... method add (line 169) | async fn add( method finish (line 189) | async fn finish( method finish_bulk (line 207) | async fn finish_bulk( method list (line 223) | async fn list( method count (line 238) | async fn count(&mut self, filter: BrowserSessionFilter<'_>) -> Result<... method authenticate_with_password (line 252) | async fn authenticate_with_password( method authenticate_with_upstream (line 274) | async fn authenticate_with_upstream( method get_last_authentication (line 291) | async fn get_last_authentication( method record_batch_activity (line 306) | async fn record_batch_activity( method cleanup_finished (line 328) | async fn cleanup_finished( method cleanup_inactive_ips (line 352) | async fn cleanup_inactive_ips( FILE: crates/storage/src/user/terms.rs type UserTermsRepository (line 17) | pub trait UserTermsRepository: Send + Sync { method accept_terms (line 33) | async fn accept_terms( FILE: crates/storage/src/utils.rs type MapErr (line 10) | pub struct MapErr { function new (line 20) | pub fn new(inner: R, mapper: F) -> Self { FILE: crates/syn2mas/src/lib.rs type RandomState (line 13) | type RandomState = rustc_hash::FxBuildHasher; type HashMap (line 14) | type HashMap = rustc_hash::FxHashMap; FILE: crates/syn2mas/src/mas_writer/checks.rs type Error (line 18) | pub enum Error { function mas_pre_migration_checks (line 53) | pub async fn mas_pre_migration_checks(mas_connection: &mut LockedMasData... FILE: crates/syn2mas/src/mas_writer/constraint_pausing.rs type ConstraintDescription (line 14) | pub struct ConstraintDescription { type IndexDescription (line 20) | pub struct IndexDescription { function describe_constraints_on_table (line 27) | pub async fn describe_constraints_on_table( function describe_foreign_key_constraints_to_table (line 46) | pub async fn describe_foreign_key_constraints_to_table( function describe_indices_on_table (line 64) | pub async fn describe_indices_on_table( function drop_constraint (line 82) | pub async fn drop_constraint( function drop_index (line 100) | pub async fn drop_index(conn: &mut PgConnection, index: &IndexDescriptio... function restore_constraint (line 115) | pub async fn restore_constraint( function restore_index (line 148) | pub async fn restore_index(conn: &mut PgConnection, index: &IndexDescrip... FILE: crates/syn2mas/src/mas_writer/locking.rs type LockedMasDatabase (line 18) | pub struct LockedMasDatabase { method try_new (line 33) | pub async fn try_new( method unlock (line 51) | pub async fn unlock(self) -> Result { method as_mut (line 57) | fn as_mut(&mut self) -> &mut PgConnection { FILE: crates/syn2mas/src/mas_writer/mod.rs type Error (line 40) | pub enum Error { type MultipleErrors (line 63) | pub struct MultipleErrors { method from (line 78) | fn from(value: Vec) -> Self { method fmt (line 68) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type WriterConnectionPool (line 83) | struct WriterConnectionPool { method new (line 97) | pub fn new(connections: Vec) -> Self { method spawn_with_connection (line 113) | pub async fn spawn_with_connection(&mut self, task: F) -> Result<()... method finish (line 164) | pub async fn finish(self) -> Result<(), Vec> { type FinishChecker (line 207) | struct FinishChecker { method handle (line 218) | pub fn handle(&self) -> FinishCheckerHandle { method check_all_finished (line 226) | pub fn check_all_finished(self) -> Result<(), Error> { type FinishCheckerHandle (line 211) | struct FinishCheckerHandle { method declare_finished (line 237) | pub fn declare_finished(self) { type MasWriter (line 242) | pub struct MasWriter { method new (line 795) | pub async fn new( method pause_indices (line 917) | async fn pause_indices( method restore_indices (line 951) | async fn restore_indices( method finish (line 982) | pub async fn finish(mut self, progress: &Progress) -> Result) -> Res... method write_batch (line 345) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 390) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 436) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 483) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 535) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 612) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... method write_batch (line 673) | async fn write_batch(conn: &mut PgConnection, batch: Vec) -> Res... type MasNewUser (line 260) | pub struct MasNewUser { type MasNewUserPassword (line 337) | pub struct MasNewUserPassword { type MasNewEmailThreepid (line 382) | pub struct MasNewEmailThreepid { type MasNewUnsupportedThreepid (line 428) | pub struct MasNewUnsupportedThreepid { type MasNewUpstreamOauthLink (line 474) | pub struct MasNewUpstreamOauthLink { type MasNewCompatSession (line 522) | pub struct MasNewCompatSession { type MasNewCompatAccessToken (line 603) | pub struct MasNewCompatAccessToken { type MasNewCompatRefreshToken (line 664) | pub struct MasNewCompatRefreshToken { constant MIGRATED_PASSWORD_VERSION (line 728) | pub const MIGRATED_PASSWORD_VERSION: u16 = 1; constant MAS_TABLES_AFFECTED_BY_MIGRATION (line 731) | pub const MAS_TABLES_AFFECTED_BY_MIGRATION: &[&str] = &[ function is_syn2mas_in_progress (line 755) | pub async fn is_syn2mas_in_progress(conn: &mut PgConnection) -> Result { function new (line 1066) | pub fn new(writer: &MasWriter) -> Self { function finish (line 1073) | pub async fn finish(mut self, writer: &mut MasWriter) -> Result<(), Erro... function flush (line 1079) | pub async fn flush(&mut self, writer: &mut MasWriter) -> Result<(), Erro... function write (line 1093) | pub async fn write(&mut self, writer: &mut MasWriter, row: T) -> Result<... type DatabaseSnapshot (line 1124) | struct DatabaseSnapshot { type TableSnapshot (line 1130) | struct TableSnapshot { type RowSnapshot (line 1136) | struct RowSnapshot { constant SKIPPED_TABLES (line 1140) | const SKIPPED_TABLES: &[&str] = &["_sqlx_migrations"]; function snapshot_database (line 1147) | async fn snapshot_database(conn: &mut PgConnection) -> DatabaseSnapshot { function make_mas_writer (line 1205) | async fn make_mas_writer(pool: &PgPool) -> MasWriter { function test_write_user (line 1227) | async fn test_write_user(pool: PgPool) { function test_write_user_with_password (line 1262) | async fn test_write_user_with_password(pool: PgPool) { function test_write_user_with_email (line 1318) | async fn test_write_user_with_email(pool: PgPool) { function test_write_user_with_unsupported_threepid (line 1373) | async fn test_write_user_with_unsupported_threepid(pool: PgPool) { function test_write_user_with_upstream_provider_link (line 1429) | async fn test_write_user_with_upstream_provider_link(pool: PgPool) { function test_write_user_with_device (line 1484) | async fn test_write_user_with_device(pool: PgPool) { function test_write_user_with_access_token (line 1543) | async fn test_write_user_with_access_token(pool: PgPool) { function test_write_user_with_refresh_token (line 1622) | async fn test_write_user_with_refresh_token(pool: PgPool) { FILE: crates/syn2mas/src/mas_writer/syn2mas_temporary_tables.sql type syn2mas_restore_constraints (line 20) | CREATE TABLE syn2mas_restore_constraints ( type syn2mas_restore_indices (line 30) | CREATE TABLE syn2mas_restore_indices ( FILE: crates/syn2mas/src/migration.rs type Error (line 43) | pub enum Error { method is_deactivated (line 93) | const fn is_deactivated(self) -> bool { method is_guest (line 97) | const fn is_guest(self) -> bool { method is_synapse_admin (line 101) | const fn is_synapse_admin(self) -> bool { method is_appservice (line 105) | const fn is_appservice(self) -> bool { type UserInfo (line 111) | struct UserInfo { type MigrationState (line 116) | struct MigrationState { function migrate (line 145) | pub async fn migrate( function migrate_users (line 216) | async fn migrate_users( function migrate_threepids (line 341) | async fn migrate_threepids( function migrate_external_ids (line 458) | async fn migrate_external_ids( function migrate_devices (line 578) | async fn migrate_devices( function migrate_unrefreshable_access_tokens (line 714) | async fn migrate_unrefreshable_access_tokens( function migrate_refreshable_token_pairs (line 867) | async fn migrate_refreshable_token_pairs( function transform_user (line 1008) | fn transform_user( FILE: crates/syn2mas/src/progress.rs type EntityType (line 45) | pub enum EntityType { method fmt (line 66) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method name (line 72) | pub const fn name(self) -> &'static str { method as_kv (line 83) | pub fn as_kv(self) -> KeyValue { type Progress (line 93) | pub struct Progress { method migrating_data (line 150) | pub fn migrating_data(&self, entity: EntityType, approx_count: usize) ... method rebuild_index (line 161) | pub fn rebuild_index(&self, index_name: String) { method rebuild_constraint (line 165) | pub fn rebuild_constraint(&self, constraint_name: String) { method set_current_stage (line 175) | fn set_current_stage(&self, stage: ProgressStage) { method get_current_stage (line 182) | pub fn get_current_stage(&self) -> arc_swap::Guard> { type ProgressCounter (line 98) | pub struct ProgressCounter { method new (line 109) | fn new(entity: EntityType) -> Self { method increment_migrated (line 119) | pub fn increment_migrated(&self) { method increment_skipped (line 126) | pub fn increment_skipped(&self) { method migrated (line 134) | pub fn migrated(&self) -> u32 { method skipped (line 141) | pub fn skipped(&self) -> u32 { type ProgressCounterInner (line 102) | struct ProgressCounterInner { method default (line 188) | fn default() -> Self { type ProgressStage (line 195) | pub enum ProgressStage { FILE: crates/syn2mas/src/synapse_reader/checks.rs type Error (line 23) | pub enum Error { type CheckError (line 37) | pub enum CheckError { type CheckWarning (line 95) | pub enum CheckWarning { function synapse_config_check (line 142) | pub fn synapse_config_check(synapse_config: &Config) -> (Vec BTreeMap { method adjust_mas_config (line 150) | pub fn adjust_mas_config( type DatabaseSection (line 223) | pub struct DatabaseSection { method to_sqlx_postgres (line 250) | pub fn to_sqlx_postgres(&self) -> Result Self { type EnableableSection (line 325) | pub struct EnableableSection { function default_true (line 330) | fn default_true() -> bool { function test_to_sqlx_postgres (line 341) | fn test_to_sqlx_postgres() { type UserConsentSection (line 425) | pub struct UserConsentSection {} FILE: crates/syn2mas/src/synapse_reader/config/oidc.rs type UserMappingProviderModule (line 23) | enum UserMappingProviderModule { type UserMappingProviderConfig (line 36) | struct UserMappingProviderConfig { method into_mas_config (line 48) | fn into_mas_config(self) -> UpstreamOAuth2ClaimsImports { type UserMappingProvider (line 99) | struct UserMappingProvider { type PkceMethod (line 108) | enum PkceMethod { type UserProfileMethod (line 119) | enum UserProfileMethod { type OidcProvider (line 129) | pub struct OidcProvider { method has_required_fields (line 191) | pub(crate) fn has_required_fields(&self) -> bool { method into_mas_config (line 196) | pub(crate) fn into_mas_config( function default_true (line 183) | fn default_true() -> bool { FILE: crates/syn2mas/src/synapse_reader/mod.rs type Error (line 23) | pub enum Error { type FullUserId (line 33) | pub struct FullUserId(pub String); method type_info (line 42) | fn type_info() -> ::TypeInfo { method extract_localpart (line 68) | pub fn extract_localpart( method fmt (line 36) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ExtractLocalpartError (line 48) | pub enum ExtractLocalpartError { type SynapseBool (line 95) | pub struct SynapseBool(bool); method decode (line 98) | fn decode( method type_info (line 107) | fn type_info() -> ::TypeInfo { function from (line 113) | fn from(SynapseBool(value): SynapseBool) -> Self { type SecondsTimestamp (line 122) | pub struct SecondsTimestamp(DateTime); method decode (line 131) | fn decode( method type_info (line 143) | fn type_info() -> ::TypeInfo { function from (line 125) | fn from(SecondsTimestamp(value): SecondsTimestamp) -> Self { type MillisecondsTimestamp (line 151) | pub struct MillisecondsTimestamp(DateTime); method decode (line 160) | fn decode( method type_info (line 172) | fn type_info() -> ::TypeInfo { function from (line 154) | fn from(MillisecondsTimestamp(value): MillisecondsTimestamp) -> Self { type SynapseUser (line 178) | pub struct SynapseUser { type SynapseThreepid (line 202) | pub struct SynapseThreepid { type SynapseExternalId (line 211) | pub struct SynapseExternalId { type SynapseDevice (line 219) | pub struct SynapseDevice { type SynapseAccessToken (line 230) | pub struct SynapseAccessToken { type SynapseRefreshableTokenPair (line 240) | pub struct SynapseRefreshableTokenPair { constant TABLES_TO_LOCK (line 254) | const TABLES_TO_LOCK: &[&str] = &[ type SynapseRowCounts (line 266) | pub struct SynapseRowCounts { type SynapseReader (line 275) | pub struct SynapseReader<'c> { function new (line 290) | pub async fn new( function finish (line 328) | pub async fn finish(self) -> Result<(), Error> { function count_rows (line 341) | pub async fn count_rows(&mut self) -> Result { function read_users (line 431) | pub fn read_users(&mut self) -> impl Stream impl Stream impl Stream Result<(), Jo... method timeout (line 60) | fn timeout(&self) -> Option { method run (line 68) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/tasks/src/cleanup/mod.rs constant BATCH_SIZE (line 24) | pub(crate) const BATCH_SIZE: usize = 1000; FILE: crates/tasks/src/cleanup/oauth.rs method run (line 27) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 71) | fn timeout(&self) -> Option { method run (line 80) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 124) | fn timeout(&self) -> Option { method run (line 133) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 168) | fn timeout(&self) -> Option { method run (line 177) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 212) | fn timeout(&self) -> Option { FILE: crates/tasks/src/cleanup/sessions.rs method run (line 27) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 66) | fn timeout(&self) -> Option { method run (line 75) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 114) | fn timeout(&self) -> Option { method run (line 123) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 163) | fn timeout(&self) -> Option { method run (line 172) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 205) | fn timeout(&self) -> Option { method run (line 213) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 246) | fn timeout(&self) -> Option { method run (line 254) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 287) | fn timeout(&self) -> Option { FILE: crates/tasks/src/cleanup/tokens.rs method run (line 26) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 64) | fn timeout(&self) -> Option { method run (line 73) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 117) | fn timeout(&self) -> Option { method run (line 125) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 163) | fn timeout(&self) -> Option { method run (line 172) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 210) | fn timeout(&self) -> Option { FILE: crates/tasks/src/cleanup/user.rs method run (line 26) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 70) | fn timeout(&self) -> Option { method run (line 79) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 123) | fn timeout(&self) -> Option { method run (line 132) | async fn run(&self, state: &State, context: JobContext) -> Result<(), Jo... method timeout (line 177) | fn timeout(&self) -> Option { FILE: crates/tasks/src/email.rs method run (line 27) | async fn run(&self, _state: &State, _context: JobContext) -> Result<(), ... method run (line 42) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/tasks/src/lib.rs type State (line 42) | struct State { method new (line 52) | pub fn new( method pool (line 70) | pub fn pool(&self) -> Pool { method clock (line 74) | pub fn clock(&self) -> &dyn Clock { method mailer (line 78) | pub fn mailer(&self) -> &Mailer { method rng (line 84) | pub fn rng(&self) -> rand_chacha::ChaChaRng { method repository (line 88) | pub async fn repository(&self) -> Result &dyn HomeserverConnection { method url_builder (line 96) | pub fn url_builder(&self) -> &UrlBuilder { method site_config (line 100) | pub fn site_config(&self) -> &SiteConfig { function init (line 112) | pub async fn init( function init_and_run (line 298) | pub async fn init_and_run( FILE: crates/tasks/src/matrix.rs method run (line 41) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 112) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 148) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 179) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/tasks/src/new_queue.rs type JobPayload (line 38) | type JobPayload = serde_json::Value; type JobContext (line 41) | pub struct JobContext { method span (line 51) | pub fn span(&self) -> Span { type JobErrorDecision (line 67) | pub enum JobErrorDecision { method fmt (line 75) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type JobError (line 85) | pub struct JobError { method retry (line 92) | pub fn retry>(error: T) -> Self { method fail (line 99) | pub fn fail>(error: T) -> Self { type FromJob (line 107) | pub trait FromJob { method from_job (line 108) | fn from_job(payload: JobPayload) -> Result method from_job (line 117) | fn from_job(payload: JobPayload) -> Result { type RunnableJob (line 123) | pub trait RunnableJob: Send + 'static { method run (line 124) | async fn run(&self, state: &State, context: JobContext) -> Result<(), ... method timeout (line 129) | fn timeout(&self) -> Option { method run (line 198) | async fn run(&self, _state: &State, context: JobContext) -> Result<(),... function box_runnable_job (line 134) | fn box_runnable_job(job: T) -> Box Duration { type JobResult (line 190) | type JobResult = (std::time::Duration, Result<(), JobError>); type JobFactory (line 191) | type JobFactory = Arc Box + Send ... type DeprecatedJob (line 194) | struct DeprecatedJob; type ScheduleDefinition (line 209) | struct ScheduleDefinition { type QueueWorker (line 216) | pub struct QueueWorker { method new (line 237) | pub(crate) async fn new( method register_handler (line 312) | pub(crate) fn register_handler( method register_deprecated_queue (line 328) | pub(crate) fn register_deprecated_queue(&mut self, queue_name: &'stati... method add_schedule (line 334) | pub(crate) fn add_schedule( method run (line 352) | pub(crate) async fn run(mut self) { method run_inner (line 361) | async fn run_inner(&mut self) -> Result<(), QueueRunnerError> { method setup_schedules (line 376) | pub(crate) async fn setup_schedules(&mut self) -> Result<(), QueueRunn... method run_loop (line 400) | async fn run_loop(&mut self) -> Result<(), QueueRunnerError> { method shutdown (line 421) | async fn shutdown(&mut self) -> Result<(), QueueRunnerError> { method wait_until_wakeup (line 469) | async fn wait_until_wakeup(&mut self) -> Result<(), QueueRunnerError> { method tick (line 518) | async fn tick(&mut self) -> Result<(), QueueRunnerError> { method perform_leader_duties (line 618) | async fn perform_leader_duties(&mut self) -> Result<(), QueueRunnerErr... method process_all_jobs_in_tests (line 752) | pub async fn process_all_jobs_in_tests(&mut self) -> Result<(), QueueR... type JobTracker (line 821) | struct JobTracker { method new (line 843) | fn new() -> Self { method queues (line 867) | fn queues(&self) -> Vec<&'static str> { method spawn_job (line 872) | fn spawn_job(&mut self, state: State, context: JobContext, payload: Jo... method has_jobs (line 999) | fn has_jobs(&self) -> bool { method running_jobs (line 1006) | fn running_jobs(&self) -> usize { method collect_next_job (line 1010) | async fn collect_next_job(&mut self) { method process_jobs (line 1027) | async fn process_jobs( FILE: crates/tasks/src/recovery.rs method run (line 36) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/tasks/src/sessions.rs method run (line 27) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 79) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 144) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 206) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/tasks/src/user.rs method run (line 32) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... method run (line 155) | async fn run(&self, state: &State, _context: JobContext) -> Result<(), J... FILE: crates/templates/src/context.rs type TemplateContext (line 50) | pub trait TemplateContext: Serialize { method with_session (line 52) | fn with_session(self, current_session: BrowserSession) -> WithSession<... method maybe_with_session (line 63) | fn maybe_with_session( method with_csrf (line 77) | fn with_csrf(self, csrf_token: C) -> WithCsrf method with_language (line 90) | fn with_language(self, lang: DataLocale) -> WithLanguage method with_captcha (line 101) | fn with_captcha(self, captcha: Option) ... method sample (line 112) | fn sample( method sample (line 150) | fn sample( method sample (line 187) | fn sample( method sample (line 226) | fn sample( method sample (line 259) | fn sample( method sample (line 297) | fn sample( method sample (line 348) | fn sample( method sample (line 376) | fn sample( method sample (line 422) | fn sample( method sample (line 455) | fn sample( method sample (line 547) | fn sample( method sample (line 655) | fn sample( method sample (line 698) | fn sample( method sample (line 741) | fn sample( method sample (line 805) | fn sample( method sample (line 893) | fn sample( method sample (line 933) | fn sample( method sample (line 1005) | fn sample( method sample (line 1070) | fn sample( method sample (line 1145) | fn sample( method sample (line 1185) | fn sample( method sample (line 1240) | fn sample( method sample (line 1295) | fn sample( method sample (line 1346) | fn sample( method sample (line 1388) | fn sample( method sample (line 1434) | fn sample( method sample (line 1498) | fn sample( method sample (line 1547) | fn sample( method sample (line 1585) | fn sample( method sample (line 1714) | fn sample( method sample (line 1800) | fn sample( method sample (line 1839) | fn sample( method sample (line 1891) | fn sample( method sample (line 1927) | fn sample( method sample (line 1953) | fn sample( method sample (line 2035) | fn sample( method sample (line 2129) | fn sample( type SampleIdentifier (line 122) | pub struct SampleIdentifier { method from_index (line 127) | pub fn from_index(index: usize) -> Self { method with_appended (line 134) | pub fn with_appended(&self, kind: &'static str, locale: String) -> Self { function sample_list (line 141) | pub(crate) fn sample_list(samples: Vec) -> BTreeM... type WithLanguage (line 164) | pub struct WithLanguage { function language (line 173) | pub fn language(&self) -> &str { type Target (line 179) | type Target = T; function deref (line 181) | fn deref(&self) -> &Self::Target { type WithCsrf (line 218) | pub struct WithCsrf { type WithSession (line 251) | pub struct WithSession { type WithOptionalSession (line 289) | pub struct WithOptionalSession { type EmptyContext (line 332) | pub struct EmptyContext; method serialize (line 335) | fn serialize(&self, serializer: S) -> Result type IndexContext (line 362) | pub struct IndexContext { method new (line 370) | pub fn new(discovery_url: Url) -> Self { type AppConfig (line 395) | pub struct AppConfig { type AppContext (line 402) | pub struct AppContext { method from_url_builder (line 409) | pub fn from_url_builder(url_builder: &UrlBuilder) -> Self { type ApiDocContext (line 437) | pub struct ApiDocContext { method from_url_builder (line 446) | pub fn from_url_builder(url_builder: &UrlBuilder) -> Self { type LoginFormField (line 471) | pub enum LoginFormField { method keep (line 480) | fn keep(&self) -> bool { type PostAuthContextInner (line 491) | pub enum PostAuthContextInner { type PostAuthContext (line 529) | pub struct PostAuthContext { type LoginContext (line 540) | pub struct LoginContext { method with_form_state (line 593) | pub fn with_form_state(self, form: FormState) -> Self { method form_state_mut (line 598) | pub fn form_state_mut(&mut self) -> &mut FormState { method with_upstream_providers (line 604) | pub fn with_upstream_providers(self, providers: Vec Self { type RegisterFormField (line 621) | pub enum RegisterFormField { method keep (line 639) | fn keep(&self) -> bool { type RegisterContext (line 649) | pub struct RegisterContext { method new (line 673) | pub fn new(providers: Vec) -> Self { method with_post_action (line 682) | pub fn with_post_action(self, next: PostAuthContext) -> Self { type PasswordRegisterContext (line 692) | pub struct PasswordRegisterContext { method with_form_state (line 717) | pub fn with_form_state(self, form: FormState) -> Se... method with_post_action (line 723) | pub fn with_post_action(self, next: PostAuthContext) -> Self { type ConsentContext (line 733) | pub struct ConsentContext { method new (line 775) | pub fn new(grant: AuthorizationGrant, client: Client, matrix_user: Mat... type PolicyViolationGrant (line 788) | enum PolicyViolationGrant { type PolicyViolationContext (line 797) | pub struct PolicyViolationContext { method for_authorization_grant (line 854) | pub const fn for_authorization_grant( method for_device_code_grant (line 871) | pub const fn for_device_code_grant( type CompatLoginPolicyViolationContext (line 888) | pub struct CompatLoginPolicyViolationContext { method for_violations (line 919) | pub const fn for_violations(violations: Vec) -> Self { type CompatSsoContext (line 926) | pub struct CompatSsoContext { method new (line 961) | pub fn new(login: CompatSsoLogin, matrix_user: MatrixUser) -> Self type EmailRecoveryContext (line 974) | pub struct EmailRecoveryContext { method new (line 983) | pub fn new(user: User, session: UserRecoverySession, recovery_link: Ur... method user (line 993) | pub fn user(&self) -> &User { method session (line 999) | pub fn session(&self) -> &UserRecoverySession { type EmailVerificationContext (line 1033) | pub struct EmailVerificationContext { method new (line 1044) | pub fn new( method user (line 1058) | pub fn user(&self) -> Option<&User> { method code (line 1064) | pub fn code(&self) -> &str { type RegisterStepsVerifyEmailFormField (line 1107) | pub enum RegisterStepsVerifyEmailFormField { method keep (line 1113) | fn keep(&self) -> bool { type RegisterStepsVerifyEmailContext (line 1122) | pub struct RegisterStepsVerifyEmailContext { method new (line 1130) | pub fn new(authentication: UserEmailAuthentication) -> Self { method with_form_state (line 1139) | pub fn with_form_state(self, form: FormState) -> Self { type RegisterStepsDisplayNameFormField (line 1202) | pub enum RegisterStepsDisplayNameFormField { method keep (line 1208) | fn keep(&self) -> bool { type RegisterStepsDisplayNameContext (line 1217) | pub struct RegisterStepsDisplayNameContext { method new (line 1224) | pub fn new() -> Self { method with_form_state (line 1230) | pub fn with_form_state( type RegisterStepsRegistrationTokenFormField (line 1257) | pub enum RegisterStepsRegistrationTokenFormField { method keep (line 1263) | fn keep(&self) -> bool { type RegisterStepsRegistrationTokenContext (line 1272) | pub struct RegisterStepsRegistrationTokenContext { method new (line 1279) | pub fn new() -> Self { method with_form_state (line 1285) | pub fn with_form_state( type RecoveryStartFormField (line 1312) | pub enum RecoveryStartFormField { method keep (line 1318) | fn keep(&self) -> bool { type RecoveryStartContext (line 1327) | pub struct RecoveryStartContext { method new (line 1334) | pub fn new() -> Self { method with_form_state (line 1340) | pub fn with_form_state(self, form: FormState) ... type RecoveryProgressContext (line 1370) | pub struct RecoveryProgressContext { method new (line 1379) | pub fn new(session: UserRecoverySession, resend_failed_due_to_rate_lim... type RecoveryExpiredContext (line 1421) | pub struct RecoveryExpiredContext { method new (line 1428) | pub fn new(session: UserRecoverySession) -> Self { type RecoveryFinishFormField (line 1458) | pub enum RecoveryFinishFormField { method keep (line 1467) | fn keep(&self) -> bool { type RecoveryFinishContext (line 1474) | pub struct RecoveryFinishContext { method new (line 1482) | pub fn new(user: User) -> Self { method with_form_state (line 1491) | pub fn with_form_state(mut self, form: FormState Self { type UpstreamSuggestLink (line 1567) | pub struct UpstreamSuggestLink { method new (line 1574) | pub fn new(link: &UpstreamOAuthLink) -> Self { method for_link_id (line 1578) | fn for_link_id(id: Ulid) -> Self { type UpstreamRegisterFormField (line 1601) | pub enum UpstreamRegisterFormField { method keep (line 1610) | fn keep(&self) -> bool { type UpstreamRegister (line 1620) | pub struct UpstreamRegister { method new (line 1636) | pub fn new( method set_localpart (line 1654) | pub fn set_localpart(&mut self, localpart: String, force: bool) { method with_localpart (line 1661) | pub fn with_localpart(self, localpart: String, force: bool) -> Self { method set_display_name (line 1670) | pub fn set_display_name(&mut self, display_name: String, force: bool) { method with_display_name (line 1677) | pub fn with_display_name(self, display_name: String, force: bool) -> S... method set_email (line 1686) | pub fn set_email(&mut self, email: String, force: bool) { method with_email (line 1693) | pub fn with_email(self, email: String, force: bool) -> Self { method set_form_state (line 1702) | pub fn set_form_state(&mut self, form_state: FormState bool { type DeviceLinkContext (line 1780) | pub struct DeviceLinkContext { method new (line 1787) | pub fn new() -> Self { method with_form_state (line 1793) | pub fn with_form_state(mut self, form_state: FormState Self { type DeviceNameContext (line 1910) | pub struct DeviceNameContext { method new (line 1918) | pub fn new(client: Client, user_agent: Option) -> Self { type FormPostContext (line 1947) | pub struct FormPostContext { function new_for_url (line 1980) | pub fn new_for_url(redirect_uri: Url, params: T) -> Self { function new_for_current_url (line 1989) | pub fn new_for_current_url(params: T) -> Self { function with_language (line 2000) | pub fn with_language(self, lang: &DataLocale) -> WithLanguage { type ErrorContext (line 2010) | pub struct ErrorContext { method fmt (line 2018) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method new (line 2057) | pub fn new() -> Self { method with_code (line 2063) | pub fn with_code(mut self, code: &'static str) -> Self { method with_description (line 2070) | pub fn with_description(mut self, description: String) -> Self { method with_details (line 2077) | pub fn with_details(mut self, details: String) -> Self { method with_language (line 2084) | pub fn with_language(mut self, lang: &DataLocale) -> Self { method code (line 2091) | pub fn code(&self) -> Option<&'static str> { method description (line 2097) | pub fn description(&self) -> Option<&str> { method details (line 2103) | pub fn details(&self) -> Option<&str> { type NotFoundContext (line 2110) | pub struct NotFoundContext { method new (line 2119) | pub fn new(method: &Method, version: Version, uri: &Uri) -> Self { FILE: crates/templates/src/context/branding.rs type SiteBranding (line 16) | pub struct SiteBranding { method new (line 26) | pub fn new(server_name: impl Into>) -> Self { method with_policy_uri (line 37) | pub fn with_policy_uri(mut self, policy_uri: impl Into>) -> S... method with_tos_uri (line 44) | pub fn with_tos_uri(mut self, tos_uri: impl Into>) -> Self { method with_imprint (line 51) | pub fn with_imprint(mut self, imprint: impl Into>) -> Self { method get_value (line 58) | fn get_value(self: &Arc, name: &Value) -> Option { method enumerate (line 68) | fn enumerate(self: &Arc) -> Enumerator { FILE: crates/templates/src/context/captcha.rs type CaptchaConfig (line 20) | struct CaptchaConfig(mas_data_model::CaptchaConfig); method get_value (line 23) | fn get_value(self: &Arc, key: &Value) -> Option { method enumerate (line 37) | fn enumerate(self: &Arc) -> Enumerator { type WithCaptcha (line 44) | pub struct WithCaptcha { function new (line 53) | pub(crate) fn new(captcha: Option, inner:... method sample (line 62) | fn sample( FILE: crates/templates/src/context/ext.rs type Sealed (line 12) | pub trait Sealed {} type SiteConfigExt (line 18) | pub trait SiteConfigExt: private::Sealed { method templates_branding (line 20) | fn templates_branding(&self) -> SiteBranding; method templates_features (line 23) | fn templates_features(&self) -> SiteFeatures; method templates_branding (line 27) | fn templates_branding(&self) -> SiteBranding { method templates_features (line 45) | fn templates_features(&self) -> SiteFeatures { FILE: crates/templates/src/context/features.rs type SiteFeatures (line 17) | pub struct SiteFeatures { method get_value (line 35) | fn get_value(self: &Arc, field: &Value) -> Option { method enumerate (line 48) | fn enumerate(self: &Arc) -> Enumerator { FILE: crates/templates/src/forms.rs type FormField (line 12) | pub trait FormField: Copy + Hash + PartialEq + Eq + Serialize + for<'de>... method keep (line 15) | fn keep(&self) -> bool; method keep (line 225) | fn keep(&self) -> bool { type FieldError (line 21) | pub enum FieldError { type FormError (line 50) | pub enum FormError { type FieldState (line 77) | struct FieldState { type FormState (line 84) | pub struct FormState { method default (line 93) | fn default() -> Self { type KeyOrOther (line 104) | enum KeyOrOther { function key (line 110) | fn key(self) -> Option { function from_form (line 125) | pub fn from_form(form: &F) -> Self { function add_error_on_field (line 150) | pub fn add_error_on_field(&mut self, field: K, error: FieldError) { function with_error_on_field (line 157) | pub fn with_error_on_field(mut self, field: K, error: FieldError) -> Self { function add_error_on_form (line 163) | pub fn add_error_on_form(&mut self, error: FormError) { function with_error_on_form (line 170) | pub fn with_error_on_form(mut self, error: FormError) -> Self { function set_value (line 176) | pub fn set_value(&mut self, field: K, value: Option) { function has_value (line 181) | pub fn has_value(&self, field: K) -> bool { function is_valid (line 187) | pub fn is_valid(&self) -> bool { type ToFormState (line 193) | pub trait ToFormState: Serialize { method to_form_state (line 202) | fn to_form_state(&self) -> FormState { type Field (line 234) | type Field = TestFormField; type TestForm (line 212) | struct TestForm { type TestFormField (line 219) | enum TestFormField { function form_state_serialization (line 238) | fn form_state_serialization() { FILE: crates/templates/src/functions.rs function register (line 30) | pub fn register( function tester_empty (line 77) | fn tester_empty(seq: Value) -> bool { function filter_add_slashes (line 81) | fn filter_add_slashes(value: &str) -> String { function filter_to_params (line 88) | fn filter_to_params(params: &Value, kwargs: Kwargs) -> Result Result u32 { function filter_parse_user_agent (line 149) | fn filter_parse_user_agent(user_agent: String) -> Value { type ParamsWhere (line 154) | enum ParamsWhere { function function_add_params_to_url (line 159) | fn function_add_params_to_url( type TranslatorFunc (line 220) | struct TranslatorFunc { method fmt (line 225) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method fmt (line 233) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method call (line 239) | fn call(self: &Arc, _state: &State, args: &[Value]) -> Result) -> std::fmt::Result { method fmt (line 268) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method call (line 274) | fn call(self: &Arc, state: &State, args: &[Value]) -> Result(T); function hour (line 401) | fn hour(&self) -> Option { function minute (line 406) | fn minute(&self) -> Option { function second (line 411) | fn second(&self) -> Option { function nanosecond (line 416) | fn nanosecond(&self) -> Option { type IncludedAssetsTrackerInner (line 423) | struct IncludedAssetsTrackerInner { method mark_preloaded (line 430) | fn mark_preloaded(&mut self, asset: &Utf8Path) -> bool { method mark_included (line 435) | fn mark_included(&mut self, asset: &Utf8Path) -> bool { type IncludedAssetsTracker (line 443) | struct IncludedAssetsTracker { method lock (line 448) | fn lock(&self) -> std::sync::MutexGuard<'_, IncludedAssetsTrackerInner> { type IncludeAsset (line 457) | struct IncludeAsset { method fmt (line 463) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method fmt (line 472) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method call (line 478) | fn call(self: &Arc, state: &State, args: &[Value]) -> Result) -> std::fmt::Result { method fmt (line 598) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method call (line 604) | fn call(self: &Arc, _state: &State, args: &[Value]) -> Result) -> std::fmt::Result { method call_method (line 629) | fn call_method( FILE: crates/templates/src/lib.rs function escape_html (line 63) | pub fn escape_html(input: &str) -> String { type Templates (line 70) | pub struct Templates { method load (line 160) | pub async fn load( method load_ (line 192) | async fn load_( method reload (line 303) | pub async fn reload(&self) -> Result<(), TemplateLoadingError> { method translator (line 324) | pub fn translator(&self) -> Arc { method check_render (line 487) | pub fn check_render( type TemplateLoadingError (line 86) | pub enum TemplateLoadingError { function is_hidden (line 137) | fn is_hidden(entry: &DirEntry) -> bool { type TemplateError (line 331) | pub enum TemplateError { function check_builtin_templates (line 503) | async fn check_builtin_templates() { FILE: crates/tower/src/metrics/duration.rs type DurationRecorderLayer (line 17) | pub struct DurationRecorderLayer Self { function on_request (line 41) | pub fn on_request( function on_request_fn (line 54) | pub fn on_request_fn( function on_response (line 66) | pub fn on_response( function on_response_fn (line 79) | pub fn on_response_fn( function on_error (line 91) | pub fn on_error( function on_error_fn (line 104) | pub fn on_error_fn( type Service (line 122) | type Service = DurationRecorderService; function layer (line 124) | fn layer(&self, inner: S) -> Self::Service { type DurationRecorderService (line 137) | pub struct DurationRecorderService; type Output (line 165) | type Output = F::Output; method poll (line 167) | fn poll( function poll_ready (line 206) | fn poll_ready( function call (line 213) | fn call(&mut self, request: R) -> Self::Future { FILE: crates/tower/src/metrics/in_flight.rs type InFlightCounterLayer (line 19) | pub struct InFlightCounterLayer { method new (line 27) | pub fn new(name: &'static str) -> Self { function on_request (line 44) | pub fn on_request(self, on_request: OnRequest) -> InFlightCou... type Service (line 56) | type Service = InFlightCounterService; function layer (line 58) | fn layer(&self, inner: S) -> Self::Service { type InFlightCounterService (line 74) | pub struct InFlightCounterService { type InFlightGuard (line 81) | struct InFlightGuard { method new (line 87) | fn new(counter: UpDownCounter, attributes: Vec) -> Self { method drop (line 98) | fn drop(&mut self) { type Response (line 132) | type Response = S::Response; type Error (line 133) | type Error = S::Error; type Future (line 134) | type Future = InFlightFuture; type Output (line 117) | type Output = F::Output; method poll (line 119) | fn poll( function poll_ready (line 136) | fn poll_ready( function call (line 143) | fn call(&mut self, req: R) -> Self::Future { FILE: crates/tower/src/metrics/make_attributes.rs type MetricsAttributes (line 12) | pub trait MetricsAttributes { method attributes (line 18) | fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a>; function metrics_attributes_fn (line 21) | pub fn metrics_attributes_fn(f: F) -> FnWrapper type Iter (line 34) | type Iter<'a> = std::vec::IntoIter; function attributes (line 36) | fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a> { type Iter (line 46) | type Iter<'a> = std::iter::Empty; function attributes (line 48) | fn attributes(&self, _t: &T) -> Self::Iter<'_> { type Iter (line 58) | type Iter<'a> = Box + 'a>; function attributes (line 59) | fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a> { type Iter (line 69) | type Iter<'a> = Box + 'a>; function attributes (line 70) | fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a> { type Iter (line 80) | type Iter<'a> = std::iter::Once; function attributes (line 81) | fn attributes(&self, _t: &T) -> Self::Iter<'_> { type Iter (line 90) | type Iter<'a> = std::iter::Once; method attributes (line 91) | fn attributes(&self, _t: &T) -> Self::Iter<'_> { type Iter (line 101) | type Iter<'a> = std::iter::Flatten>>; function attributes (line 103) | fn attributes<'a>(&'a self, t: &'a T) -> Self::Iter<'a> { FILE: crates/tower/src/trace_context.rs type AsInjector (line 15) | trait AsInjector { method as_injector (line 20) | fn as_injector(&mut self) -> Self::Injector<'_>; type Injector (line 24) | type Injector<'a> method as_injector (line 29) | fn as_injector(&mut self) -> Self::Injector<'_> { type TraceContextLayer (line 36) | pub struct TraceContextLayer { method new (line 43) | pub fn new() -> Self { type Service (line 49) | type Service = TraceContextService; method layer (line 51) | fn layer(&self, inner: S) -> Self::Service { type TraceContextService (line 58) | pub struct TraceContextService { function new (line 64) | pub fn new(inner: S) -> Self { type Response (line 74) | type Response = S::Response; type Error (line 75) | type Error = S::Error; type Future (line 76) | type Future = S::Future; function poll_ready (line 78) | fn poll_ready( function call (line 85) | fn call(&mut self, mut req: R) -> Self::Future { FILE: crates/tower/src/tracing/enrich_span.rs type EnrichSpan (line 12) | pub trait EnrichSpan { method enrich_span (line 13) | fn enrich_span(&self, span: &Span, t: &T); function enrich_span (line 20) | fn enrich_span(&self, span: &Span, t: &T) { function enrich_span_fn (line 27) | pub fn enrich_span_fn(f: F) -> FnWrapper function enrich_span (line 35) | fn enrich_span(&self, _span: &Span, _t: &T) {} function enrich_span (line 42) | fn enrich_span(&self, span: &Span, _t: &T) { function enrich_span (line 79) | fn enrich_span(&self, span: &Span, request: &R) { function enrich_span (line 90) | fn enrich_span(&self, span: &Span, request: &R) { function enrich_span (line 101) | fn enrich_span(&self, span: &Span, request: &R) { FILE: crates/tower/src/tracing/future.rs function new (line 23) | pub fn new(inner: F, span: Span, on_response: OnResponse, on_error: OnEr... type Output (line 39) | type Output = Result; method poll (line 41) | fn poll( FILE: crates/tower/src/tracing/layer.rs type TraceLayer (line 13) | pub struct TraceLayer { function from_fn (line 21) | pub fn from_fn(f: F) -> TraceLayer> function new (line 31) | pub fn new(make_span: MakeSpan) -> Self { function on_response (line 42) | pub fn on_response( function on_response_fn (line 54) | pub fn on_response_fn(self, f: F) -> TraceLayer( function on_error_fn (line 73) | pub fn on_error_fn(self, f: F) -> TraceLayer Self::Service { FILE: crates/tower/src/tracing/make_span.rs type MakeSpan (line 13) | pub trait MakeSpan { method make_span (line 14) | fn make_span(&self, request: &R) -> Span; function make_span (line 21) | fn make_span(&self, request: &R) -> Span { function make_span_fn (line 27) | pub fn make_span_fn(f: F) -> FnWrapper FILE: crates/tower/src/tracing/service.rs type TraceService (line 12) | pub struct TraceService { function new (line 22) | pub fn new(inner: S, make_span: MakeSpan, on_response: OnResponse, on_er... type Response (line 40) | type Response = S::Response; type Error (line 41) | type Error = S::Error; type Future (line 42) | type Future = TraceFuture; function poll_ready (line 44) | fn poll_ready( function call (line 51) | fn call(&mut self, request: R) -> Self::Future { FILE: crates/tower/src/utils.rs type KV (line 12) | pub struct KV(pub &'static str, pub V); method from (line 18) | fn from(value: KV) -> Self { type FnWrapper (line 26) | pub struct FnWrapper(pub F); type IdentityLayer (line 30) | pub struct IdentityLayer { method default (line 35) | fn default() -> Self { type IdentityService (line 44) | pub struct IdentityService { method default (line 53) | fn default() -> Self { type Service (line 62) | type Service = IdentityService; function layer (line 64) | fn layer(&self, inner: S) -> Self::Service { type Response (line 76) | type Response = S::Response; type Error (line 77) | type Error = S::Error; type Future (line 78) | type Future = S::Future; function poll_ready (line 80) | fn poll_ready( function call (line 87) | fn call(&mut self, req: R) -> Self::Future { FILE: frontend/.storybook/locales.ts type LocalazyLanguage (line 1) | type LocalazyLanguage = { type LocalazyFile (line 12) | type LocalazyFile = { type LocalazyMetadata (line 22) | type LocalazyMetadata = { FILE: frontend/.storybook/public/mockServiceWorker.js constant PACKAGE_VERSION (line 10) | const PACKAGE_VERSION = '2.12.8' constant INTEGRITY_CHECKSUM (line 11) | const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82' constant IS_MOCKED_RESPONSE (line 12) | const IS_MOCKED_RESPONSE = Symbol('isMockedResponse') function handleRequest (line 124) | async function handleRequest(event, requestId, requestInterceptedAt) { function resolveMainClient (line 177) | async function resolveMainClient(event) { function getResponse (line 211) | async function getResponse(event, client, requestId, requestInterceptedA... function sendToClient (line 288) | function sendToClient(client, message, transferrables = []) { function respondWithMock (line 311) | function respondWithMock(response) { function serializeRequest (line 333) | async function serializeRequest(request) { FILE: frontend/src/@types/i18next.d.ts type CustomTypeOptions (line 11) | interface CustomTypeOptions { FILE: frontend/src/components/AccountDeleteButton.tsx constant USER_FRAGMENT (line 17) | const USER_FRAGMENT = graphql(/* GraphQL */ ` constant CONFIG_FRAGMENT (line 28) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` constant MUTATION (line 34) | const MUTATION = graphql(/* GraphQL */ ` type Props (line 42) | type Props = { FILE: frontend/src/components/AccountManagementPasswordPreview/AccountManagementPasswordPreview.tsx constant CONFIG_FRAGMENT (line 15) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` function AccountManagementPasswordPreview (line 21) | function AccountManagementPasswordPreview({ FILE: frontend/src/components/BrowserSession.tsx constant FRAGMENT (line 19) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 51) | type Props = { FILE: frontend/src/components/ButtonLink.tsx type Props (line 13) | type Props = { FILE: frontend/src/components/Client/OAuth2ClientDetail.tsx constant OAUTH2_CLIENT_FRAGMENT (line 16) | const OAUTH2_CLIENT_FRAGMENT = graphql(/* GraphQL */ ` type Props (line 29) | type Props = { FILE: frontend/src/components/Collapsible/Collapsible.stories.tsx type Story (line 16) | type Story = StoryObj; FILE: frontend/src/components/CompatSession.tsx constant FRAGMENT (line 17) | const FRAGMENT = graphql(/* GraphQL */ ` FILE: frontend/src/components/DateTime.stories.tsx type Story (line 33) | type Story = StoryObj; FILE: frontend/src/components/DateTime.tsx type Props (line 15) | type Props = { FILE: frontend/src/components/Dialog/Dialog.stories.tsx type Story (line 46) | type Story = StoryObj; FILE: frontend/src/components/Dialog/Dialog.tsx type Props (line 40) | type Props = React.PropsWithChildren<{ FILE: frontend/src/components/EmptyState/EmptyState.stories.tsx type Story (line 21) | type Story = StoryObj; FILE: frontend/src/components/ErrorBoundary.tsx type Props (line 12) | interface Props { type IState (line 16) | interface IState { class ErrorBoundary (line 24) | class ErrorBoundary extends PureComponent { method constructor (line 25) | public constructor(props: Props) { method getDerivedStateFromError (line 31) | public static getDerivedStateFromError(error: Error): Partial { method componentDidCatch (line 37) | public componentDidCatch(error: Error, { componentStack }: ErrorInfo):... method render (line 45) | public render(): ReactNode { FILE: frontend/src/components/Filter/Filter.stories.tsx type Story (line 29) | type Story = StoryObj; FILE: frontend/src/components/Filter/Filter.tsx type Props (line 14) | type Props = React.ComponentPropsWithRef<"a"> & { FILE: frontend/src/components/Footer/Footer.stories.tsx type Story (line 44) | type Story = StoryObj; FILE: frontend/src/components/Footer/Footer.tsx constant FRAGMENT (line 14) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 23) | type Props = { FILE: frontend/src/components/Layout/Layout.tsx constant QUERY (line 15) | const QUERY = graphql(/* GraphQL */ ` FILE: frontend/src/components/LoadingScreen/LoadingScreen.stories.tsx type Story (line 21) | type Story = StoryObj; FILE: frontend/src/components/LoadingSpinner/LoadingSpinner.stories.tsx type Story (line 18) | type Story = StoryObj; FILE: frontend/src/components/NavBar/NavBar.stories.tsx type Story (line 26) | type Story = StoryObj; FILE: frontend/src/components/OAuth2Session.tsx constant FRAGMENT (line 16) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 57) | type Props = { FILE: frontend/src/components/PageHeading/PageHeading.tsx type Props (line 11) | type Props = { FILE: frontend/src/components/PaginationControls.tsx type Props (line 10) | type Props = { FILE: frontend/src/components/PasswordConfirmation.tsx type ModalRef (line 12) | type ModalRef = { type Props (line 16) | type Props = { FILE: frontend/src/components/PasswordCreationDoubleInput.tsx constant CONFIG_FRAGMENT (line 14) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` function PasswordCreationDoubleInput (line 55) | function PasswordCreationDoubleInput({ FILE: frontend/src/components/Separator/Separator.tsx type Props (line 15) | type Props = { FILE: frontend/src/components/Session/DeviceTypeIcon.stories.tsx type Story (line 27) | type Story = StoryObj; FILE: frontend/src/components/Session/EndBrowserSessionButton.tsx constant FRAGMENT (line 17) | const FRAGMENT = graphql(/* GraphQL */ ` constant END_SESSION_MUTATION (line 29) | const END_SESSION_MUTATION = graphql(/* GraphQL */ ` type Props (line 67) | type Props = { FILE: frontend/src/components/Session/EndCompatSessionButton.tsx constant FRAGMENT (line 14) | const FRAGMENT = graphql(/* GraphQL */ ` constant END_SESSION_MUTATION (line 30) | const END_SESSION_MUTATION = graphql(/* GraphQL */ ` type Props (line 41) | type Props = { FILE: frontend/src/components/Session/EndOAuth2SessionButton.tsx constant FRAGMENT (line 14) | const FRAGMENT = graphql(/* GraphQL */ ` constant END_SESSION_MUTATION (line 34) | const END_SESSION_MUTATION = graphql(/* GraphQL */ ` type Props (line 57) | type Props = { FILE: frontend/src/components/Session/LastActive.stories.tsx type Story (line 23) | type Story = StoryObj; FILE: frontend/src/components/Session/LastActive.tsx constant ACTIVE_NOW_MAX_AGE (line 16) | const ACTIVE_NOW_MAX_AGE = 60 * 3; constant INACTIVE_MIN_AGE (line 18) | const INACTIVE_MIN_AGE = 60 * 60 * 24 * 90; FILE: frontend/src/components/SessionCard/SessionCard.stories.tsx type Story (line 68) | type Story = StoryObj; FILE: frontend/src/components/SessionCard/SessionCard.tsx type BodyProps (line 21) | type BodyProps = React.PropsWithChildren< type HeaderProps (line 62) | type HeaderProps = React.PropsWithChildren<{ type: DeviceType }>; type NameProps (line 70) | type NameProps = { name: string }; type ClientProps (line 75) | type ClientProps = { name: string; logoUri?: string }; FILE: frontend/src/components/SessionDetail/BrowserSessionDetail.tsx constant FRAGMENT (line 17) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 41) | type Props = { FILE: frontend/src/components/SessionDetail/CompatSessionDetail.tsx constant SET_SESSION_NAME_MUTATION (line 21) | const SET_SESSION_NAME_MUTATION = graphql(/* GraphQL */ ` constant FRAGMENT (line 29) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 54) | type Props = { FILE: frontend/src/components/SessionDetail/EditSessionName.tsx type Props (line 37) | type Props = { FILE: frontend/src/components/SessionDetail/OAuth2SessionDetail.tsx constant SET_SESSION_NAME_MUTATION (line 21) | const SET_SESSION_NAME_MUTATION = graphql(/* GraphQL */ ` constant FRAGMENT (line 29) | const FRAGMENT = graphql(/* GraphQL */ ` type Props (line 57) | type Props = { FILE: frontend/src/components/SessionDetail/SessionHeader.stories.tsx type Props (line 12) | type Props = PropsWithChildren; type Story (line 25) | type Story = StoryObj; FILE: frontend/src/components/Typography.stories.tsx type Story (line 21) | type Story = StoryObj; FILE: frontend/src/components/Typography.tsx type Variant (line 9) | type Variant = "headline" | "title" | "subtitle" | "body" | "caption" | ... type Props (line 11) | type Props = { FILE: frontend/src/components/UserEmail/UserEmail.tsx constant FRAGMENT (line 30) | const FRAGMENT = graphql(/* GraphQL */ ` constant REMOVE_EMAIL_MUTATION (line 37) | const REMOVE_EMAIL_MUTATION = graphql(/* GraphQL */ ` FILE: frontend/src/components/UserGreeting/UserGreeting.stories.tsx type Story (line 67) | type Story = StoryObj; FILE: frontend/src/components/UserGreeting/UserGreeting.tsx constant FRAGMENT (line 31) | const FRAGMENT = graphql(/* GraphQL */ ` constant CONFIG_FRAGMENT (line 41) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` constant SET_DISPLAYNAME_MUTATION (line 47) | const SET_DISPLAYNAME_MUTATION = graphql(/* GraphQL */ ` type Props (line 73) | type Props = { FILE: frontend/src/components/UserProfile/AddEmailForm.tsx constant USER_FRAGMENT (line 21) | const USER_FRAGMENT = graphql(/* GraphQL */ ` constant CONFIG_FRAGMENT (line 27) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` constant ADD_EMAIL_MUTATION (line 33) | const ADD_EMAIL_MUTATION = graphql(/* GraphQL */ ` FILE: frontend/src/components/UserProfile/UserEmailList.tsx constant QUERY (line 22) | const QUERY = graphql(/* GraphQL */ ` constant USER_FRAGMENT (line 63) | const USER_FRAGMENT = graphql(/* GraphQL */ ` constant CONFIG_FRAGMENT (line 69) | const CONFIG_FRAGMENT = graphql(/* GraphQL */ ` FILE: frontend/src/components/UserSessionsOverview/BrowserSessionsOverview.stories.tsx type Props (line 14) | type Props = { type Story (line 42) | type Story = StoryObj; FILE: frontend/src/components/UserSessionsOverview/BrowserSessionsOverview.tsx constant FRAGMENT (line 15) | const FRAGMENT = graphql(/* GraphQL */ ` FILE: frontend/src/config.ts type AppConfig (line 7) | type AppConfig = { type IWindow (line 12) | interface IWindow { FILE: frontend/src/entrypoints/swagger.ts type ApiConfig (line 10) | type ApiConfig = { type IWindow (line 15) | interface IWindow { FILE: frontend/src/entrypoints/templates.ts constant VALID_USERNAME_RE (line 13) | const VALID_USERNAME_RE = /^\s*([a-z0-9.=_/+-]+|@[a-z0-9.=_/+-]+(:.*)?)\... function grabErrorMessage (line 16) | function grabErrorMessage( function patchUsernameInput (line 42) | function patchUsernameInput(inputElement: HTMLInputElement) { FILE: frontend/src/gql/fragment-masking.ts type FragmentType (line 6) | type FragmentType... function useFragment (line 57) | function useFragment( function makeFragmentData (line 65) | function makeFragmentData< function isFragmentReady (line 71) | function isFragmentReady( FILE: frontend/src/gql/gql.ts type Documents (line 17) | type Documents = { function graphql (line 354) | function graphql(source: string) { FILE: frontend/src/gql/graphql.ts type Maybe (line 4) | type Maybe = T | null; type InputMaybe (line 5) | type InputMaybe = T | null | undefined; type Exact (line 6) | type Exact = { [K in keyof T]: T[K... type MakeOptional (line 7) | type MakeOptional = Omit & { [SubKey in K]?:... type MakeMaybe (line 8) | type MakeMaybe = Omit & { [SubKey in K]: May... type MakeEmpty (line 9) | type MakeEmpty ... type Incremental (line 10) | type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' ... type Scalars (line 12) | type Scalars = { type AddEmailInput (line 29) | type AddEmailInput = { type AddEmailPayload (line 41) | type AddEmailPayload = { type AddEmailStatus (line 54) | type AddEmailStatus = type AddUserInput (line 65) | type AddUserInput = { type AddUserPayload (line 79) | type AddUserPayload = { type AddUserStatus (line 88) | type AddUserStatus = type AllowUserCrossSigningResetInput (line 99) | type AllowUserCrossSigningResetInput = { type AllowUserCrossSigningResetPayload (line 105) | type AllowUserCrossSigningResetPayload = { type Anonymous (line 111) | type Anonymous = Node & { type AppSession (line 117) | type AppSession = CompatSession | Oauth2Session; type AppSessionConnection (line 119) | type AppSessionConnection = { type AppSessionEdge (line 132) | type AppSessionEdge = { type Authentication (line 144) | type Authentication = CreationEvent & Node & { type BrowserSession (line 153) | type BrowserSession = CreationEvent & Node & { type BrowserSessionAppSessionsArgs (line 182) | type BrowserSessionAppSessionsArgs = { type BrowserSessionConnection (line 191) | type BrowserSessionConnection = { type BrowserSessionEdge (line 204) | type BrowserSessionEdge = { type CaptchaConfig (line 212) | type CaptchaConfig = { type CaptchaService (line 222) | type CaptchaService = type CompatSession (line 231) | type CompatSession = CreationEvent & Node & { type CompatSessionConnection (line 259) | type CompatSessionConnection = { type CompatSessionEdge (line 272) | type CompatSessionEdge = { type CompatSessionType (line 281) | type CompatSessionType = type CompatSsoLogin (line 291) | type CompatSsoLogin = Node & { type CompatSsoLoginConnection (line 310) | type CompatSsoLoginConnection = { type CompatSsoLoginEdge (line 323) | type CompatSsoLoginEdge = { type CompleteEmailAuthenticationInput (line 332) | type CompleteEmailAuthenticationInput = { type CompleteEmailAuthenticationPayload (line 340) | type CompleteEmailAuthenticationPayload = { type CompleteEmailAuthenticationStatus (line 347) | type CompleteEmailAuthenticationStatus = type CreateOAuth2SessionInput (line 360) | type CreateOAuth2SessionInput = { type CreateOAuth2SessionPayload (line 370) | type CreateOAuth2SessionPayload = { type CreationEvent (line 381) | type CreationEvent = { type DateFilter (line 387) | type DateFilter = { type DeactivateUserInput (line 395) | type DeactivateUserInput = { type DeactivateUserPayload (line 412) | type DeactivateUserPayload = { type DeactivateUserStatus (line 420) | type DeactivateUserStatus = type DeviceType (line 427) | type DeviceType = type EndBrowserSessionInput (line 438) | type EndBrowserSessionInput = { type EndBrowserSessionPayload (line 443) | type EndBrowserSessionPayload = { type EndBrowserSessionStatus (line 452) | type EndBrowserSessionStatus = type EndCompatSessionInput (line 459) | type EndCompatSessionInput = { type EndCompatSessionPayload (line 464) | type EndCompatSessionPayload = { type EndCompatSessionStatus (line 473) | type EndCompatSessionStatus = type EndOAuth2SessionInput (line 480) | type EndOAuth2SessionInput = { type EndOAuth2SessionPayload (line 485) | type EndOAuth2SessionPayload = { type EndOAuth2SessionStatus (line 494) | type EndOAuth2SessionStatus = type LockUserInput (line 501) | type LockUserInput = { type LockUserPayload (line 509) | type LockUserPayload = { type LockUserStatus (line 518) | type LockUserStatus = type MatrixUser (line 524) | type MatrixUser = { type Mutation (line 537) | type Mutation = { type MutationAddEmailArgs (line 613) | type MutationAddEmailArgs = { type MutationAddUserArgs (line 619) | type MutationAddUserArgs = { type MutationAllowUserCrossSigningResetArgs (line 625) | type MutationAllowUserCrossSigningResetArgs = { type MutationCompleteEmailAuthenticationArgs (line 631) | type MutationCompleteEmailAuthenticationArgs = { type MutationCreateOauth2SessionArgs (line 637) | type MutationCreateOauth2SessionArgs = { type MutationDeactivateUserArgs (line 643) | type MutationDeactivateUserArgs = { type MutationEndBrowserSessionArgs (line 649) | type MutationEndBrowserSessionArgs = { type MutationEndCompatSessionArgs (line 655) | type MutationEndCompatSessionArgs = { type MutationEndOauth2SessionArgs (line 661) | type MutationEndOauth2SessionArgs = { type MutationLockUserArgs (line 667) | type MutationLockUserArgs = { type MutationRemoveEmailArgs (line 673) | type MutationRemoveEmailArgs = { type MutationResendEmailAuthenticationCodeArgs (line 679) | type MutationResendEmailAuthenticationCodeArgs = { type MutationResendRecoveryEmailArgs (line 685) | type MutationResendRecoveryEmailArgs = { type MutationSetCanRequestAdminArgs (line 691) | type MutationSetCanRequestAdminArgs = { type MutationSetCompatSessionNameArgs (line 697) | type MutationSetCompatSessionNameArgs = { type MutationSetDisplayNameArgs (line 703) | type MutationSetDisplayNameArgs = { type MutationSetOauth2SessionNameArgs (line 709) | type MutationSetOauth2SessionNameArgs = { type MutationSetPasswordArgs (line 715) | type MutationSetPasswordArgs = { type MutationSetPasswordByRecoveryArgs (line 721) | type MutationSetPasswordByRecoveryArgs = { type MutationSetPrimaryEmailArgs (line 727) | type MutationSetPrimaryEmailArgs = { type MutationStartEmailAuthenticationArgs (line 733) | type MutationStartEmailAuthenticationArgs = { type MutationUnlockUserArgs (line 739) | type MutationUnlockUserArgs = { type Node (line 744) | type Node = { type Oauth2ApplicationType (line 750) | type Oauth2ApplicationType = type Oauth2Client (line 757) | type Oauth2Client = Node & { type Oauth2Session (line 783) | type Oauth2Session = CreationEvent & Node & { type Oauth2SessionConnection (line 811) | type Oauth2SessionConnection = { type Oauth2SessionEdge (line 824) | type Oauth2SessionEdge = { type PageInfo (line 833) | type PageInfo = { type Query (line 846) | type Query = { type QueryBrowserSessionArgs (line 902) | type QueryBrowserSessionArgs = { type QueryCompatSessionArgs (line 908) | type QueryCompatSessionArgs = { type QueryNodeArgs (line 914) | type QueryNodeArgs = { type QueryOauth2ClientArgs (line 920) | type QueryOauth2ClientArgs = { type QueryOauth2SessionArgs (line 926) | type QueryOauth2SessionArgs = { type QuerySessionArgs (line 932) | type QuerySessionArgs = { type QueryUpstreamOauth2LinkArgs (line 939) | type QueryUpstreamOauth2LinkArgs = { type QueryUpstreamOauth2ProviderArgs (line 945) | type QueryUpstreamOauth2ProviderArgs = { type QueryUpstreamOauth2ProvidersArgs (line 951) | type QueryUpstreamOauth2ProvidersArgs = { type QueryUserArgs (line 960) | type QueryUserArgs = { type QueryUserByUsernameArgs (line 966) | type QueryUserByUsernameArgs = { type QueryUserEmailArgs (line 972) | type QueryUserEmailArgs = { type QueryUserEmailAuthenticationArgs (line 978) | type QueryUserEmailAuthenticationArgs = { type QueryUserRecoveryTicketArgs (line 984) | type QueryUserRecoveryTicketArgs = { type QueryUsersArgs (line 990) | type QueryUsersArgs = { type RemoveEmailInput (line 1000) | type RemoveEmailInput = { type RemoveEmailPayload (line 1011) | type RemoveEmailPayload = { type RemoveEmailStatus (line 1022) | type RemoveEmailStatus = type ResendEmailAuthenticationCodeInput (line 1031) | type ResendEmailAuthenticationCodeInput = { type ResendEmailAuthenticationCodePayload (line 1039) | type ResendEmailAuthenticationCodePayload = { type ResendEmailAuthenticationCodeStatus (line 1046) | type ResendEmailAuthenticationCodeStatus = type ResendRecoveryEmailInput (line 1055) | type ResendRecoveryEmailInput = { type ResendRecoveryEmailPayload (line 1061) | type ResendRecoveryEmailPayload = { type ResendRecoveryEmailStatus (line 1070) | type ResendRecoveryEmailStatus = type Session (line 1079) | type Session = CompatSession | Oauth2Session; type SessionLimitConfig (line 1082) | type SessionLimitConfig = { type SessionState (line 1090) | type SessionState = type SetCanRequestAdminInput (line 1097) | type SetCanRequestAdminInput = { type SetCanRequestAdminPayload (line 1105) | type SetCanRequestAdminPayload = { type SetCompatSessionNameInput (line 1112) | type SetCompatSessionNameInput = { type SetCompatSessionNamePayload (line 1119) | type SetCompatSessionNamePayload = { type SetCompatSessionNameStatus (line 1128) | type SetCompatSessionNameStatus = type SetDisplayNameInput (line 1135) | type SetDisplayNameInput = { type SetDisplayNamePayload (line 1143) | type SetDisplayNamePayload = { type SetDisplayNameStatus (line 1152) | type SetDisplayNameStatus = type SetOAuth2SessionNameInput (line 1159) | type SetOAuth2SessionNameInput = { type SetOAuth2SessionNamePayload (line 1166) | type SetOAuth2SessionNamePayload = { type SetOAuth2SessionNameStatus (line 1175) | type SetOAuth2SessionNameStatus = type SetPasswordByRecoveryInput (line 1182) | type SetPasswordByRecoveryInput = { type SetPasswordInput (line 1194) | type SetPasswordInput = { type SetPasswordPayload (line 1211) | type SetPasswordPayload = { type SetPasswordStatus (line 1218) | type SetPasswordStatus = type SetPrimaryEmailInput (line 1257) | type SetPrimaryEmailInput = { type SetPrimaryEmailPayload (line 1263) | type SetPrimaryEmailPayload = { type SetPrimaryEmailStatus (line 1271) | type SetPrimaryEmailStatus = type SiteConfig (line 1279) | type SiteConfig = Node & { type StartEmailAuthenticationInput (line 1320) | type StartEmailAuthenticationInput = { type StartEmailAuthenticationPayload (line 1333) | type StartEmailAuthenticationPayload = { type StartEmailAuthenticationStatus (line 1344) | type StartEmailAuthenticationStatus = type UnlockUserInput (line 1359) | type UnlockUserInput = { type UnlockUserPayload (line 1365) | type UnlockUserPayload = { type UnlockUserStatus (line 1374) | type UnlockUserStatus = type UpstreamOAuth2Link (line 1380) | type UpstreamOAuth2Link = CreationEvent & Node & { type UpstreamOAuth2LinkConnection (line 1396) | type UpstreamOAuth2LinkConnection = { type UpstreamOAuth2LinkEdge (line 1409) | type UpstreamOAuth2LinkEdge = { type UpstreamOAuth2Provider (line 1417) | type UpstreamOAuth2Provider = CreationEvent & Node & { type UpstreamOAuth2ProviderConnection (line 1439) | type UpstreamOAuth2ProviderConnection = { type UpstreamOAuth2ProviderEdge (line 1452) | type UpstreamOAuth2ProviderEdge = { type User (line 1461) | type User = Node & { type UserAppSessionsArgs (line 1498) | type UserAppSessionsArgs = { type UserBrowserSessionsArgs (line 1511) | type UserBrowserSessionsArgs = { type UserCompatSessionsArgs (line 1522) | type UserCompatSessionsArgs = { type UserCompatSsoLoginsArgs (line 1534) | type UserCompatSsoLoginsArgs = { type UserEmailsArgs (line 1543) | type UserEmailsArgs = { type UserOauth2SessionsArgs (line 1553) | type UserOauth2SessionsArgs = { type UserUpstreamOauth2LinksArgs (line 1565) | type UserUpstreamOauth2LinksArgs = { type UserAgent (line 1573) | type UserAgent = { type UserConnection (line 1591) | type UserConnection = { type UserEdge (line 1604) | type UserEdge = { type UserEmail (line 1613) | type UserEmail = CreationEvent & Node & { type UserEmailAuthentication (line 1630) | type UserEmailAuthentication = CreationEvent & Node & { type UserEmailConnection (line 1642) | type UserEmailConnection = { type UserEmailEdge (line 1655) | type UserEmailEdge = { type UserEmailState (line 1664) | type UserEmailState = type UserRecoveryTicket (line 1671) | type UserRecoveryTicket = CreationEvent & Node & { type UserRecoveryTicketStatus (line 1686) | type UserRecoveryTicketStatus = type UserState (line 1695) | type UserState = type Viewer (line 1702) | type Viewer = Anonymous | User; type ViewerSession (line 1705) | type ViewerSession = Anonymous | BrowserSession | Oauth2Session; type AccountDeleteButton_UserFragment (line 1707) | type AccountDeleteButton_UserFragment = { __typename?: 'User', username:... type AccountDeleteButton_SiteConfigFragment (line 1709) | type AccountDeleteButton_SiteConfigFragment = { __typename?: 'SiteConfig... type DeactivateUserMutationVariables (line 1711) | type DeactivateUserMutationVariables = Exact<{ type DeactivateUserMutation (line 1717) | type DeactivateUserMutation = { __typename?: 'Mutation', deactivateUser:... type PasswordChange_SiteConfigFragment (line 1719) | type PasswordChange_SiteConfigFragment = { __typename?: 'SiteConfig', pa... type BrowserSession_SessionFragment (line 1721) | type BrowserSession_SessionFragment = ( type OAuth2Client_DetailFragment (line 1726) | type OAuth2Client_DetailFragment = { __typename?: 'Oauth2Client', id: st... type CompatSession_SessionFragment (line 1728) | type CompatSession_SessionFragment = ( type Footer_SiteConfigFragment (line 1733) | type Footer_SiteConfigFragment = { __typename?: 'SiteConfig', id: string... type FooterQueryVariables (line 1735) | type FooterQueryVariables = Exact<{ [key: string]: never; }>; type FooterQuery (line 1738) | type FooterQuery = { __typename?: 'Query', siteConfig: ( type OAuth2Session_SessionFragment (line 1743) | type OAuth2Session_SessionFragment = ( type PasswordCreationDoubleInput_SiteConfigFragment (line 1748) | type PasswordCreationDoubleInput_SiteConfigFragment = { __typename?: 'Si... type EndBrowserSessionButton_SessionFragment (line 1750) | type EndBrowserSessionButton_SessionFragment = { __typename?: 'BrowserSe... type EndBrowserSessionMutationVariables (line 1752) | type EndBrowserSessionMutationVariables = Exact<{ type EndBrowserSessionMutation (line 1757) | type EndBrowserSessionMutation = { __typename?: 'Mutation', endBrowserSe... type EndCompatSessionButton_SessionFragment (line 1759) | type EndCompatSessionButton_SessionFragment = { __typename?: 'CompatSess... type EndCompatSessionMutationVariables (line 1761) | type EndCompatSessionMutationVariables = Exact<{ type EndCompatSessionMutation (line 1766) | type EndCompatSessionMutation = { __typename?: 'Mutation', endCompatSess... type EndOAuth2SessionButton_SessionFragment (line 1768) | type EndOAuth2SessionButton_SessionFragment = { __typename?: 'Oauth2Sess... type EndOAuth2SessionMutationVariables (line 1770) | type EndOAuth2SessionMutationVariables = Exact<{ type EndOAuth2SessionMutation (line 1775) | type EndOAuth2SessionMutation = { __typename?: 'Mutation', endOauth2Sess... type BrowserSession_DetailFragment (line 1777) | type BrowserSession_DetailFragment = ( type SetCompatSessionNameMutationVariables (line 1782) | type SetCompatSessionNameMutationVariables = Exact<{ type SetCompatSessionNameMutation (line 1788) | type SetCompatSessionNameMutation = { __typename?: 'Mutation', setCompat... type CompatSession_DetailFragment (line 1790) | type CompatSession_DetailFragment = ( type SetOAuth2SessionNameMutationVariables (line 1795) | type SetOAuth2SessionNameMutationVariables = Exact<{ type SetOAuth2SessionNameMutation (line 1801) | type SetOAuth2SessionNameMutation = { __typename?: 'Mutation', setOauth2... type OAuth2Session_DetailFragment (line 1803) | type OAuth2Session_DetailFragment = ( type UserEmail_EmailFragment (line 1808) | type UserEmail_EmailFragment = { __typename?: 'UserEmail', id: string, e... type RemoveEmailMutationVariables (line 1810) | type RemoveEmailMutationVariables = Exact<{ type RemoveEmailMutation (line 1816) | type RemoveEmailMutation = { __typename?: 'Mutation', removeEmail: { __t... type UserGreeting_UserFragment (line 1818) | type UserGreeting_UserFragment = { __typename?: 'User', id: string, matr... type UserGreeting_SiteConfigFragment (line 1820) | type UserGreeting_SiteConfigFragment = { __typename?: 'SiteConfig', disp... type SetDisplayNameMutationVariables (line 1822) | type SetDisplayNameMutationVariables = Exact<{ type SetDisplayNameMutation (line 1828) | type SetDisplayNameMutation = { __typename?: 'Mutation', setDisplayName:... type AddEmailForm_UserFragment (line 1830) | type AddEmailForm_UserFragment = { __typename?: 'User', hasPassword: boo... type AddEmailForm_SiteConfigFragment (line 1832) | type AddEmailForm_SiteConfigFragment = { __typename?: 'SiteConfig', pass... type AddEmailMutationVariables (line 1834) | type AddEmailMutationVariables = Exact<{ type AddEmailMutation (line 1841) | type AddEmailMutation = { __typename?: 'Mutation', startEmailAuthenticat... type UserEmailListQueryVariables (line 1843) | type UserEmailListQueryVariables = Exact<{ type UserEmailListQuery (line 1851) | type UserEmailListQuery = { __typename?: 'Query', viewer: type UserEmailList_UserFragment (line 1859) | type UserEmailList_UserFragment = { __typename?: 'User', hasPassword: bo... type UserEmailList_SiteConfigFragment (line 1861) | type UserEmailList_SiteConfigFragment = { __typename?: 'SiteConfig', ema... type BrowserSessionsOverview_UserFragment (line 1863) | type BrowserSessionsOverview_UserFragment = { __typename?: 'User', brows... type UserProfileQueryVariables (line 1865) | type UserProfileQueryVariables = Exact<{ [key: string]: never; }>; type UserProfileQuery (line 1868) | type UserProfileQuery = { __typename?: 'Query', viewerSession: type PlanManagementTabQueryVariables (line 1880) | type PlanManagementTabQueryVariables = Exact<{ [key: string]: never; }>; type PlanManagementTabQuery (line 1883) | type PlanManagementTabQuery = { __typename?: 'Query', siteConfig: { __ty... type BrowserSessionListQueryVariables (line 1885) | type BrowserSessionListQueryVariables = Exact<{ type BrowserSessionListQuery (line 1894) | type BrowserSessionListQuery = { __typename?: 'Query', viewerSession: type SessionsOverviewQueryVariables (line 1903) | type SessionsOverviewQueryVariables = Exact<{ [key: string]: never; }>; type SessionsOverviewQuery (line 1906) | type SessionsOverviewQuery = { __typename?: 'Query', viewer: type AppSessionsListQueryVariables (line 1914) | type AppSessionsListQueryVariables = Exact<{ type AppSessionsListQuery (line 1923) | type AppSessionsListQuery = { __typename?: 'Query', viewer: type CurrentUserGreetingQueryVariables (line 1937) | type CurrentUserGreetingQueryVariables = Exact<{ [key: string]: never; }>; type CurrentUserGreetingQuery (line 1940) | type CurrentUserGreetingQuery = { __typename?: 'Query', viewer: type OAuth2ClientQueryVariables (line 1951) | type OAuth2ClientQueryVariables = Exact<{ type OAuth2ClientQuery (line 1956) | type OAuth2ClientQuery = { __typename?: 'Query', oauth2Client?: ( type CurrentViewerQueryVariables (line 1961) | type CurrentViewerQueryVariables = Exact<{ [key: string]: never; }>; type CurrentViewerQuery (line 1964) | type CurrentViewerQuery = { __typename?: 'Query', viewer: type DeviceRedirectQueryVariables (line 1969) | type DeviceRedirectQueryVariables = Exact<{ type DeviceRedirectQuery (line 1975) | type DeviceRedirectQuery = { __typename?: 'Query', session?: type VerifyEmailQueryVariables (line 1980) | type VerifyEmailQueryVariables = Exact<{ type VerifyEmailQuery (line 1985) | type VerifyEmailQuery = { __typename?: 'Query', userEmailAuthentication?... type DoVerifyEmailMutationVariables (line 1987) | type DoVerifyEmailMutationVariables = Exact<{ type DoVerifyEmailMutation (line 1993) | type DoVerifyEmailMutation = { __typename?: 'Mutation', completeEmailAut... type ResendEmailAuthenticationCodeMutationVariables (line 1995) | type ResendEmailAuthenticationCodeMutationVariables = Exact<{ type ResendEmailAuthenticationCodeMutation (line 2001) | type ResendEmailAuthenticationCodeMutation = { __typename?: 'Mutation', ... type ChangePasswordMutationVariables (line 2003) | type ChangePasswordMutationVariables = Exact<{ type ChangePasswordMutation (line 2010) | type ChangePasswordMutation = { __typename?: 'Mutation', setPassword: { ... type PasswordChangeQueryVariables (line 2012) | type PasswordChangeQueryVariables = Exact<{ [key: string]: never; }>; type PasswordChangeQuery (line 2015) | type PasswordChangeQuery = { __typename?: 'Query', viewer: type RecoverPasswordMutationVariables (line 2023) | type RecoverPasswordMutationVariables = Exact<{ type RecoverPasswordMutation (line 2029) | type RecoverPasswordMutation = { __typename?: 'Mutation', setPasswordByR... type ResendRecoveryEmailMutationVariables (line 2031) | type ResendRecoveryEmailMutationVariables = Exact<{ type ResendRecoveryEmailMutation (line 2036) | type ResendRecoveryEmailMutation = { __typename?: 'Mutation', resendReco... type RecoverPassword_UserRecoveryTicketFragment (line 2038) | type RecoverPassword_UserRecoveryTicketFragment = { __typename?: 'UserRe... type RecoverPassword_SiteConfigFragment (line 2040) | type RecoverPassword_SiteConfigFragment = ( type PasswordRecoveryQueryVariables (line 2045) | type PasswordRecoveryQueryVariables = Exact<{ type PasswordRecoveryQuery (line 2050) | type PasswordRecoveryQuery = { __typename?: 'Query', siteConfig: ( type AllowCrossSigningResetMutationVariables (line 2058) | type AllowCrossSigningResetMutationVariables = Exact<{ type AllowCrossSigningResetMutation (line 2063) | type AllowCrossSigningResetMutation = { __typename?: 'Mutation', allowUs... type SessionDetailQueryVariables (line 2065) | type SessionDetailQueryVariables = Exact<{ type SessionDetailQuery (line 2070) | type SessionDetailQuery = { __typename?: 'Query', viewerSession: class TypedDocumentString (line 2100) | class TypedDocumentString method constructor (line 2108) | constructor(value: string, __meta__?: Record | undefined) { method toString (line 2114) | override toString(): string & DocumentTypeDecoration = { FILE: frontend/src/i18n.ts method detect (line 43) | detect(): string | undefined { method init (line 56) | init(): void {} method read (line 57) | read(language: string, _namespace: string, callback: ReadCallback): void { FILE: frontend/src/i18n/password_changes.ts function translateSetPasswordError (line 23) | function translateSetPasswordError( FILE: frontend/src/pagination.ts type PageInfo (line 11) | type PageInfo = { constant FIRST_PAGE (line 18) | const FIRST_PAGE = Symbol("FIRST_PAGE"); constant LAST_PAGE (line 19) | const LAST_PAGE = Symbol("LAST_PAGE"); type ForwardPagination (line 43) | type ForwardPagination = v.InferOutput; type BackwardPagination (line 44) | type BackwardPagination = v.InferOutput; type Pagination (line 45) | type Pagination = v.InferOutput; type AnyPagination (line 46) | type AnyPagination = v.InferOutput; type Action (line 68) | type Action = typeof FIRST_PAGE | typeof LAST_PAGE | Pagination; FILE: frontend/src/routeTree.gen.ts type FileRoutesByFullPath (line 119) | interface FileRoutesByFullPath { type FileRoutesByTo (line 137) | interface FileRoutesByTo { type FileRoutesById (line 154) | interface FileRoutesById { type FileRouteTypes (line 174) | interface FileRouteTypes { type RootRouteChildren (line 231) | interface RootRouteChildren { type FileRoutesByPath (line 245) | interface FileRoutesByPath { type AccountRouteChildren (line 522) | interface AccountRouteChildren { type ResetCrossSigningRouteChildren (line 539) | interface ResetCrossSigningRouteChildren { FILE: frontend/src/router.tsx type Register (line 25) | interface Register { FILE: frontend/src/routes/__root.tsx method loader (line 43) | loader({ context }) { FILE: frontend/src/routes/_account.index.tsx constant QUERY (line 28) | const QUERY = graphql(/* GraphQL */ ` method beforeLoad (line 106) | beforeLoad({ search }) { function Index (line 195) | function Index(): React.ReactElement { FILE: frontend/src/routes/_account.plan.index.tsx constant QUERY (line 13) | const QUERY = graphql(/* GraphQL */ ` function RouteComponent (line 39) | function RouteComponent(): React.ReactElement { function Plan (line 51) | function Plan({ FILE: frontend/src/routes/_account.sessions.browsers.tsx constant PAGE_SIZE (line 26) | const PAGE_SIZE = 6; constant QUERY (line 28) | const QUERY = graphql(/* GraphQL */ ` function BrowserSessions (line 110) | function BrowserSessions(): React.ReactElement { FILE: frontend/src/routes/_account.sessions.index.tsx constant PAGE_SIZE (line 30) | const PAGE_SIZE = 6; constant QUERY (line 32) | const QUERY = graphql(/* GraphQL */ ` constant LIST_QUERY (line 61) | const LIST_QUERY = graphql(/* GraphQL */ ` function Sessions (line 147) | function Sessions(): React.ReactElement { FILE: frontend/src/routes/_account.tsx constant QUERY (line 18) | const QUERY = graphql(/* GraphQL */ ` function Account (line 52) | function Account(): React.ReactElement { FILE: frontend/src/routes/clients.$id.tsx constant QUERY (line 14) | const QUERY = graphql(/* GraphQL */ ` function ClientDetail (line 35) | function ClientDetail(): React.ReactElement { FILE: frontend/src/routes/devices.$.tsx constant CURRENT_VIEWER_QUERY (line 16) | const CURRENT_VIEWER_QUERY = graphql(/* GraphQL */ ` constant QUERY (line 36) | const QUERY = graphql(/* GraphQL */ ` method loader (line 59) | async loader({ context, params }) { function NotFound (line 82) | function NotFound(): React.ReactElement { FILE: frontend/src/routes/emails.$id.in-use.tsx method loader (line 17) | async loader({ context, params }): Promise { function EmailInUse (line 33) | function EmailInUse(): React.ReactElement { FILE: frontend/src/routes/emails.$id.verify.tsx constant QUERY (line 26) | const QUERY = graphql(/* GraphQL */ ` constant VERIFY_EMAIL_MUTATION (line 36) | const VERIFY_EMAIL_MUTATION = graphql(/* GraphQL */ ` constant RESEND_EMAIL_AUTHENTICATION_CODE_MUTATION (line 44) | const RESEND_EMAIL_AUTHENTICATION_CODE_MUTATION = graphql(/* GraphQL */ ` method loader (line 60) | async loader({ context, params }): Promise { function EmailVerify (line 74) | function EmailVerify(): React.ReactElement { FILE: frontend/src/routes/password.change.index.tsx constant CHANGE_PASSWORD_MUTATION (line 27) | const CHANGE_PASSWORD_MUTATION = graphql(/* GraphQL */ ` constant QUERY (line 45) | const QUERY = graphql(/* GraphQL */ ` function ChangePassword (line 70) | function ChangePassword(): React.ReactNode { FILE: frontend/src/routes/password.change.success.tsx function ChangePasswordSuccess (line 17) | function ChangePasswordSuccess(): React.ReactNode { FILE: frontend/src/routes/password.recovery.index.tsx constant RECOVER_PASSWORD_MUTATION (line 28) | const RECOVER_PASSWORD_MUTATION = graphql(/* GraphQL */ ` constant RESEND_EMAIL_MUTATION (line 38) | const RESEND_EMAIL_MUTATION = graphql(/* GraphQL */ ` constant FRAGMENT (line 47) | const FRAGMENT = graphql(/* GraphQL */ ` constant SITE_CONFIG_FRAGMENT (line 54) | const SITE_CONFIG_FRAGMENT = graphql(/* GraphQL */ ` constant QUERY (line 60) | const QUERY = graphql(/* GraphQL */ ` method loader (line 89) | async loader({ context, deps: { ticket } }): Promise { function RecoverPassword (line 306) | function RecoverPassword(): React.ReactNode { FILE: frontend/src/routes/reset-cross-signing.index.tsx constant CURRENT_VIEWER_QUERY (line 29) | const CURRENT_VIEWER_QUERY = graphql(/* GraphQL */ ` type Window (line 57) | interface Window { constant ALLOW_CROSS_SIGING_RESET_MUTATION (line 65) | const ALLOW_CROSS_SIGING_RESET_MUTATION = graphql(/* GraphQL */ ` function ResetCrossSigning (line 75) | function ResetCrossSigning(): React.ReactNode { FILE: frontend/src/routes/reset-cross-signing.success.tsx constant CROSS_SIGNING_REPLACEMENT_PERIOD_MS (line 13) | const CROSS_SIGNING_REPLACEMENT_PERIOD_MS = 10 * 60 * 1000; FILE: frontend/src/routes/reset-cross-signing.tsx function ResetCrossSigningError (line 28) | function ResetCrossSigningError({ FILE: frontend/src/routes/sessions.$id.tsx constant QUERY (line 19) | const QUERY = graphql(/* GraphQL */ ` function NotFound (line 51) | function NotFound(): React.ReactElement { function SessionDetail (line 68) | function SessionDetail(): React.ReactElement { FILE: frontend/src/test-utils/mockLocale.ts function MockDateTimeFormat (line 22) | function MockDateTimeFormat( FILE: frontend/src/utils/deviceIdFromScope.ts constant UNSTABLE_DEVICE_PREFIX (line 8) | const UNSTABLE_DEVICE_PREFIX = "urn:matrix:org.matrix.msc2967.client:dev... constant STABLE_DEVICE_PREFIX (line 9) | const STABLE_DEVICE_PREFIX = "urn:matrix:client:device:"; FILE: frontend/src/utils/password_complexity/index.ts type PasswordComplexity (line 59) | interface PasswordComplexity { function estimatePasswordComplexity (line 71) | async function estimatePasswordComplexity( function translateScore (line 99) | function translateScore(score: 0 | 1 | 2 | 3 | 4, t: TFunction): string { function translateSuggestion (line 115) | function translateSuggestion( function translateWarning (line 152) | function translateWarning( FILE: frontend/stories/routes/index.stories.tsx type Story (line 38) | type Story = StoryObj; FILE: frontend/stories/routes/reset-cross-signing.stories.tsx type Story (line 39) | type Story = StoryObj; FILE: frontend/tests/routes/render.tsx function renderPage (line 32) | async function renderPage(route: string): Promise { FILE: frontend/vite.config.ts function i18nHotReload (line 21) | function i18nHotReload(): PluginOption { function compression (line 37) | function compression(): PluginOption { type ManifestChunk (line 103) | interface ManifestChunk { function augmentManifest (line 111) | function augmentManifest(): PluginOption {