Skip to content

Commit

Permalink
google client id setter added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush Awasthi committed Feb 1, 2019
1 parent 5cc5561 commit dac0a4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions KiwiPods/Social/Google/GoogleHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ open class GoogleHandler: NSObject {
super.init()
GIDSignIn.sharedInstance()?.delegate = self
}
func setClientId(value: String) {
GIDSignIn.sharedInstance()?.clientID = value
}
fileprivate var loginCompletion: ((String?, Error?) -> Void)?
fileprivate var loginHandlerController: UIViewController?
public func getUser(from controller: UIViewController, completion: @escaping (_ token: String?, _ error: Error?) -> Void) {
Expand Down

0 comments on commit dac0a4c

Please sign in to comment.