Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backchannel logout #70

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ all-features = true
maintenance = { status = "actively-developed" }

[features]
default = ["reqwest", "rustls-tls"]
default = ["reqwest", "rustls-tls", "backchannel-logout"]
curl = ["oauth2/curl"]
reqwest = ["oauth2/reqwest"]
ureq = ["oauth2/ureq"]
native-tls = ["oauth2/native-tls"]
rustls-tls = ["oauth2/rustls-tls"]
accept-rfc3339-timestamps = []
nightly = []
backchannel-logout = []
Erik1000 marked this conversation as resolved.
Show resolved Hide resolved

[dependencies]
base64 = "0.13"
Expand Down
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,12 @@ pub use oauth2::{
TokenResponse as OAuth2TokenResponse, TokenType, TokenUrl,
};

#[cfg(feature = "backchannel-logout")]
mod logout_token;
#[cfg(feature = "backchannel-logout")]
#[doc(inline)]
pub use logout_token::*;
Erik1000 marked this conversation as resolved.
Show resolved Hide resolved

///
/// Public re-exports of types used for HTTP client interfaces.
///
Expand Down
Loading