mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Remove superfluous OAuthAuthorizationCodeGrantRequesting protocol.
This commit is contained in:
1 parent
351351b5d8
commit
ad90863c6f
2 files changed
+1
-7
No files matched your search
@@ -61,7 +61,7 @@ extension FeedlyAccountDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
extension FeedlyAccountDelegate: OAuthAccessTokenRefreshing {
|
||||
extension FeedlyAccountDelegate {
|
||||
|
||||
func refreshAccessToken(with refreshToken: String, client: OAuthAuthorizationClient) async throws -> OAuthAuthorizationGrant {
|
||||
|
||||
|
||||
@@ -28,9 +28,3 @@ public struct OAuthRefreshAccessTokenRequest: Encodable, Sendable {
|
||||
self.clientSecret = client.secret
|
||||
}
|
||||
}
|
||||
|
||||
/// Implemented by concrete types to perform the actual request.
|
||||
protocol OAuthAccessTokenRefreshing: AnyObject {
|
||||
|
||||
@MainActor func refreshAccessToken(with refreshToken: String, client: OAuthAuthorizationClient) async throws -> OAuthAuthorizationGrant
|
||||
}
|
||||
Reference in new issue
Block a user