Skip to content

Google Sign-In 7.0.0

Compare
Choose a tag to compare
@petea petea released this 13 Dec 17:32
· 28 commits to main since this release
7932d33
  • All configuration can now be provided via your Info.plist file. (#228)
    • Use the following keys in <key>KEY</key><string>VALUE</string> pairs to configure the SDK:
      • GIDClientID (required)
      • GIDServerClientID (optional)
      • GIDHostedDomain (optional)
      • GIDOpenIDRealm (optional)
  • Support for Swift Concurrency. (#187)
  • API surface improvements (#249, #228, #187)
    • GIDSignIn
      • New configuration property.
      • Removed Configuration: arguments from signIn: methods.
      • Removed addScopes: and added it to GIDGoogleUser.
      • Renamed callback: arguments to completion: for asynchronous methods taking blocks.
    • GIDGoogleUser
      • New configuration property.
      • New addScopes: method moved from GIDSignIn.
      • Removed authentication property and replaced it with:
        • New accessToken property.
        • New refreshToken property.
        • New idToken property.
        • New fetcherAuthorizer property.
        • New refreshTokensIfNeededWithCompletion: method.
    • New GIDToken class to represent access, refresh, and ID tokens in GIDGoogleUser.
    • New GIDSignInResult class to represent the result of a successful signIn or addScopes flow.
    • Removed GIDSignInCallback, GIDDisconnectCallback, and GIDAuthenticationAction block type definitions.