Skip to content

Commit

Permalink
make Authorization::client_id public (#154)
Browse files Browse the repository at this point in the history
It's useful if you're using oauth2::get_auth_from_env_or_prompt where there isn't otherwise a way to get the client ID the user entered.
  • Loading branch information
wfraser authored Jun 3, 2024
1 parent b4b5bd7 commit c81807c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oauth2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ enum AuthorizationState {
/// Provides for continuing authorization of the app.
#[derive(Debug, Clone)]
pub struct Authorization {
client_id: String,
/// Dropbox app key
pub client_id: String,
state: AuthorizationState,
}

Expand Down

0 comments on commit c81807c

Please sign in to comment.