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
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.

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