Skip to content

Commit

Permalink
Some linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mohannad-hassan committed Jan 5, 2025
1 parent f07289d commit 8f80afa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Data/AuthenticationClient/Sources/AuthenticationClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public protocol AuthenticationClient {
var authenticationState: AuthenticationState { get }
}


public struct AuthentincationClientBuilder {
public enum AuthentincationClientBuilder {
public static func make(withConfigurations config: OAuthAppConfiguration?) -> AuthenticationClient {
AuthenticationClientImpl(configurations: config)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class AuthenticationClientImpl: AuthenticationClient {
init(configurations: OAuthAppConfiguration?, caller: OAuthCaller, persistance: Persistance) {
self.caller = caller
self.persistance = persistance
self.appConfiguration = configurations
appConfiguration = configurations
}

// MARK: Public
Expand Down Expand Up @@ -112,8 +112,10 @@ final class AuthenticationClientImpl: AuthenticationClient {

extension AuthenticationClientImpl {
public convenience init(configurations: OAuthAppConfiguration?) {
self.init(configurations: configurations,
caller: AppAuthCaller(),
persistance: KeychainPersistance())
self.init(
configurations: configurations,
caller: AppAuthCaller(),
persistance: KeychainPersistance()
)
}
}

0 comments on commit 8f80afa

Please sign in to comment.