Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off

crates/cre8-app-flight/src/provider.rs

cre8-app-flight · module provider · src · 443 lines (391 code, 4 comment) · sha 32ad245c5ccc6ef9

Items

const OPENSKY_PROVIDER_ID const OPENSKY_API_URL const OPENSKY_TERMS_URL const OPENSKY_LICENSE_ACK_ENV const OPENSKY_ACCESS_TOKEN_ENV const OPENSKY_CLIENT_ID_ENV const OPENSKY_CLIENT_SECRET_ENV const OPENSKY_TOKEN_URL const OPENSKY_TOKEN_REFRESH_MARGIN_MS const OPENSKY_DEFAULT_TOKEN_LIFETIME_S const OPENSKY_MAX_TOKEN_RESPONSE_BYTES struct OpenSkyFetch struct OpenSkyProviderReceipt struct OpenSkyFetchError impl OpenSkyFetchError impl Display for OpenSkyFetchError impl Error for OpenSkyFetchError enum OpenSkyAccess impl Debug for OpenSkyAccess impl OpenSkyAccess struct OpenSkyTokenResponse struct OpenSkyToken struct CachedOpenSkyToken static OPENSKY_TOKEN_CACHE

Functions

By call-graph weight (PageRank; 1.0 is the average function). 26 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
nonemptysrc/provider.rs:230fn31302.4
resolve_accesssrc/provider.rs:200fn295411.5
parse_token_responsesrc/provider.rs:250fn143201.1
oauth_client_credentials_authorizationsrc/provider.rs:266fn292141.1
OpenSkyFetchError::with_responsesrc/provider.rs:62method71201
opensky_provider_receiptsrc/provider.rs:180fn61321
ensure_successful_responsesrc/provider.rs:191fn82301
parse_u64_headersrc/provider.rs:187fn31100.9
credential_fingerprintsrc/provider.rs:308fn61110.7
cached_tokensrc/provider.rs:316fn112100.7
OpenSkyAccess::modesrc/provider.rs:101method73200.7
resolve_authorizationsrc/provider.rs:234fn93210.7
OpenSkyFetchError::safesrc/provider.rs:54method31100.5
OpenSkyFetchError::with_accesssrc/provider.rs:58method31100.5
fetch_opensky_bboxsrc/provider.rs:137fn4221100.5
OpenSkyFetchError::fmtsrc/provider.rs:72trait impl31000.5
OpenSkyAccess::fmtsrc/provider.rs:87trait impl113010.5
default_token_lifetime_ssrc/provider.rs:245fn31000.5
oauth_client_credentials_authorizationsrc/provider.rs:297fn91000.5
operational_refresh_requires_explicit_license_acknowledgementsrc/provider.rs:333fn51010.5
acknowledged_access_supports_anonymous_bearer_and_client_credentialssrc/provider.rs:340fn181030.5
bearer_override_wins_and_partial_client_credentials_fail_closedsrc/provider.rs:360fn132010.5
oauth_token_response_is_bearer_only_and_refreshes_before_expirysrc/provider.rs:376fn172010.5
provider_receipt_preserves_credit_and_retry_headers_without_body_leakagesrc/provider.rs:395fn201020.5
typed_http_failure_retains_only_safe_metadatasrc/provider.rs:417fn101010.5
provider_receipt_uses_generic_retry_after_and_ignores_malformed_numberssrc/provider.rs:429fn141020.5

Source not readable from this process.