Added new OAuth credentials

This commit is contained in:
Maurice Parker 2019-09-06 17:38:48 -05:00
parent 66dc203134
commit ab0ca49882
1 changed files with 4 additions and 0 deletions

View File

@ -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)