mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 12:06:58 +01:00
Remove superfluous OAuthAuthorizationCodeGrantRequesting protocol.
This commit is contained in:
parent
351351b5d8
commit
ad90863c6f
@ -61,7 +61,7 @@ extension FeedlyAccountDelegate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension FeedlyAccountDelegate: OAuthAccessTokenRefreshing {
|
extension FeedlyAccountDelegate {
|
||||||
|
|
||||||
func refreshAccessToken(with refreshToken: String, client: OAuthAuthorizationClient) async throws -> OAuthAuthorizationGrant {
|
func refreshAccessToken(with refreshToken: String, client: OAuthAuthorizationClient) async throws -> OAuthAuthorizationGrant {
|
||||||
|
|
||||||
|
@ -28,9 +28,3 @@ public struct OAuthRefreshAccessTokenRequest: Encodable, Sendable {
|
|||||||
self.clientSecret = client.secret
|
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
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user