Skip to content

Commit

Permalink
fix: Store and print TokenStore for auth_azure example
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Oct 4, 2024
1 parent 13562a7 commit ed8f937
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/src/bin/auth_azure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl AuthPromptCallback for HttpCallbackHandler {
#[tokio::main]
async fn main() -> Result<(), Error> {
eprintln!("NOTE: --flow authorization-code required!");
auth_main(
let ts = auth_main(
XalAppParameters {
client_id: CLIENT_ID.into(),
title_id: None,
Expand All @@ -85,5 +85,7 @@ async fn main() -> Result<(), Error> {
)
.await?;

println!("TokenStore: {ts:?}");

Ok(())
}

0 comments on commit ed8f937

Please sign in to comment.