Re-exportsยง
use std::fmt::Debug;๐use std::fmt::Debug;๐use std::fmt::Formatter;๐use std::fmt::Result as FmtResult;๐use std::sync::Arc;๐use serde_json::Value as JsonValue;๐use tuwunel_core::Err;๐use tuwunel_core::Result;๐use tuwunel_core::debug_info;๐use tuwunel_core::debug_warn;๐use tuwunel_core::err;๐use tuwunel_core::implement;๐use tuwunel_core::utils::MutexMap;๐use tuwunel_core::warn;๐use tuwunel_database::Map;๐pub use self::auth::AUTH_REQUEST_LIFETIME;pub use self::auth::AuthCodeSession;pub use self::auth::AuthRequest;pub use self::client::ClientRegistration;pub use self::client::DcrRequest;pub use self::device::ApprovedDeviceGrant;pub use self::device::DEVICE_GRANT_INTERVAL_SECS;pub use self::device::DEVICE_GRANT_LIFETIME;pub use self::device::DeviceGrant;pub use self::device::DeviceGrantPoll;pub use self::device::DeviceGrantStatus;pub use self::device::format_user_code;pub use self::token::IdTokenClaims;use self::jwk::init_jwk;๐use self::signing_key::SigningKey;๐use self::signing_key::init_signing_key;๐use crate::services::OnceServices;๐
Modulesยง
Structsยง
Constantsยง
- API_
SCOPE_ ๐PREFIXES - MSC2967 API-scope prefixes, stable spelling first.
- DEVICE_
SCOPE_ ๐PREFIXES - MSC2967 device-scope prefixes, stable spelling first.
Functionsยง
- is_
scope_ ๐char - RFC 6749 appendix A NQCHAR: printable ASCII except space, double quote and backslash. MSC4108 clients use unpadded base64 device ids.
- narrow_
scope - Restricts a requested OAuth scope to supported tokens per RFC 6749 ยง3.3.