Remove superfluous OAuthAuthorizationCodeGrantRequesting protocol.

This commit is contained in:
Brent Simmons committed 2024-04-25 12:58:05 -07:00
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
}