Skip to content

Commit dc9b103

Browse files
committed
feat!: Add optional oauth_refresh_token field to identity::Account (#1998)
1 parent f0cacb0 commit dc9b103

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gix-sec/src/identity.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ pub struct Account {
88
pub username: String,
99
/// The user's password
1010
pub password: String,
11+
/// An OAuth refresh token that may accompany the password. It is to be treated confidentially, just like the password.
12+
pub oauth_refresh_token: Option<String>,
1113
}
1214

1315
/// Returns true if the given `path` is owned by the user who is executing the current process.

0 commit comments

Comments
 (0)