Type-Definitions

The following type definitions are available globally.

  • The callback block that takes a GIDAuthentication, or an error if attempt to refresh was unsuccessful.

    Declaration

    Swift

    typealias GIDAuthenticationHandler = (GIDAuthentication?, Error?) -> Void

    Objective-C

    typedef void (^GIDAuthenticationHandler)(GIDAuthentication *, NSError *)
  • The callback block that takes an access token, or an error if attempt to refresh was unsuccessful.

    Declaration

    Swift

    typealias GIDAccessTokenHandler = (String?, Error?) -> Void

    Objective-C

    typedef void (^GIDAccessTokenHandler)(NSString *, NSError *)