Skip to content

Commit

Permalink
DefaultGoogleAuthProvider init scope changed to public
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasMata committed Jul 12, 2022
1 parent 10f59c0 commit 2dab805
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ApiKit-Google/Sources/DefaultGoogleAuthProvider.swift
Expand Up @@ -17,9 +17,7 @@ open class DefaultGoogleAuthProvider: OAuthProvider {

open var googleSignIn = GIDSignIn.sharedInstance

public enum GoogleAuthError: Error {
case unknown
}
public init() {}

open func hasPreviousSignIn() -> Bool {
return googleSignIn.hasPreviousSignIn()
Expand All @@ -44,3 +42,7 @@ open class DefaultGoogleAuthProvider: OAuthProvider {
return user?.authentication.accessToken
}
}

public enum GoogleAuthError: Error {
case unknown
}

0 comments on commit 2dab805

Please sign in to comment.