Skip to main content

Module oauth

Module oauth 

Source

Re-exportsยง

pub use self::providers::ProviderId;
pub use self::server::Server;
pub use self::sessions::CODE_VERIFIER_LENGTH;
pub use self::sessions::SESSION_ID_LENGTH;
pub use self::sessions::Session;
pub use self::sessions::SessionId;
pub use self::token_response::TokenResponse;
pub use self::user_info::UserInfo;

Modulesยง

providers
server
sessions
token_response
user_info

Structsยง

Provider
Service

Functionsยง

unique_id
Generate a unique-id string determined by the combination of Provider and Session instances.
unique_id_iss
Generate a unique-id string determined by the combination of issuer_url and Session instance.
unique_id_iss_parts ๐Ÿ”’
unique_id_iss_sub
Generate a unique-id string determined by the issuer_url and the sub strings directly.
unique_id_parts ๐Ÿ”’
unique_id_sub
Generate a unique-id string determined by the combination of Provider instance and sub string.
unique_id_sub_parts ๐Ÿ”’