Skip to content

Commit

Permalink
Update FederatedService.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Toffoloni <[email protected]>
  • Loading branch information
fpseverino and ptoffy authored Nov 14, 2024
1 parent 7126c1f commit 1daa432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ImperialCore/Services/FederatedService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ public protocol FederatedService {
/// - scope: The scopes to send to the provider to request access to.
/// - completion: The completion handler that will fire at the end of the callback route. The access token is passed into the callback and the response that is returned will be returned from the callback route. This will usually be a redirect back to the app.
/// - Throws: Any errors that occur in the implementation.
init(routes: any RoutesBuilder, authenticate: String, authenticateCallback: ((Request) async throws -> Void)?, callback: String, scope: [String], completion: @escaping (Request, String) async throws -> any AsyncResponseEncodable) throws
init(routes: some RoutesBuilder, authenticate: String, authenticateCallback: ((Request) async throws -> Void)?, callback: String, scope: [String], completion: @escaping (Request, String) async throws -> any AsyncResponseEncodable) throws
}

0 comments on commit 1daa432

Please sign in to comment.