History

feat!: Add optional `oauth_refresh_token` field to `identity::Account` (#1998)

Sebastian Thiel committed 1 year ago

Commit dc9b1031 parent f0cacb01 file · +2 −0Browse files

Unified · Split

gix-sec/src/identity.rs+2−0
@@ -8,6 +8,8 @@ pub struct Account { · 7 unmodified lines
8 pub username: String,8 pub username: String,
9 /// The user's password9 /// The user's password
10 pub password: String,10 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>,
11}13}
12 14
13/// Returns true if the given `path` is owned by the user who is executing the current process.15/// Returns true if the given `path` is owned by the user who is executing the current process.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t