Expand description
OAuth 2.0 structure for RustAuth.
Re-exports§
pub use authorization_url::AuthorizationUrlRequest;pub use client::refresh_access_token_at;pub use client::submit_token_form;pub use client::AuthorizationUrlBuilder;pub use client::ClientCredentialsBuilder;pub use client::ExchangeCodeBuilder;pub use client::OAuth2Client;pub use client::OAuth2ClientBuilder;pub use client::RefreshTokenBuilder;pub use client_credentials_token::create_client_credentials_token_request;pub use client_credentials_token::ClientCredentialsTokenRequest;pub use error::OAuthError;pub use http::OAuthHttpClient;pub use http::OAuthHttpClientConfig;pub use provider::OAuthProviderMetadata;pub use provider::SocialAuthorizationCodeRequest;pub use provider::SocialAuthorizationUrlRequest;pub use provider::SocialIdTokenRequest;pub use provider::SocialOAuthProvider;pub use provider::SocialProviderFuture;pub use refresh_access_token::create_refresh_access_token_request;pub use refresh_access_token::RefreshAccessTokenRequest;pub use tokens::get_oauth2_tokens;pub use tokens::get_primary_client_id;pub use tokens::ClientId;pub use tokens::OAuth2Tokens;pub use tokens::OAuth2UserInfo;pub use tokens::ProviderOptions;pub use types::AuthorizationEndpoint;pub use types::ClientSecret;pub use types::RedirectUri;pub use types::TokenEndpoint;pub use utils::generate_code_challenge;pub use utils::validate_code_verifier;pub use validate_authorization_code::AuthorizationCodeRequest;
Modules§
- authorization_
url - client
- client_
credentials_ token - error
- http
- provider
- refresh_
access_ token - tokens
- types
- utils
- validate_
authorization_ code
Structs§
Enums§
Functions§
- url_
host_ is_ blocked_ ip - Returns
truewhenurl’s host is a literal IP address that is blocked.