Added new OAuth credentials
This commit is contained in:
parent
66dc203134
commit
ab0ca49882
|
@ -299,6 +299,10 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
|
|||
self.username = username
|
||||
case .readerAPIAuthLogin(let username, _):
|
||||
self.username = username
|
||||
case .oauthAccessToken(let username, _):
|
||||
self.username = username
|
||||
case .oauthRefreshToken(let username, _):
|
||||
self.username = username
|
||||
}
|
||||
|
||||
try CredentialsManager.storeCredentials(credentials, server: server)
|
||||
|
|
Loading…
Reference in New Issue