Remove superfluous OAuthAuthorizationCodeGrantRequesting protocol.

This commit is contained in:
Brent Simmons 2024-04-25 12:58:05 -07:00
parent 351351b5d8
commit ad90863c6f
2 changed files with 1 additions and 7 deletions

View File

@ -61,7 +61,7 @@ extension FeedlyAccountDelegate {
}
}
extension FeedlyAccountDelegate: OAuthAccessTokenRefreshing {
extension FeedlyAccountDelegate {
func refreshAccessToken(with refreshToken: String, client: OAuthAuthorizationClient) async throws -> OAuthAuthorizationGrant {

View File

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