mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Remove superfluous OAuthAuthorizationCodeGrantRequesting protocol.
This commit is contained in:
@@ -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