- All configuration can now be provided via your
Info.plistfile. (#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)
- Use the following keys in
- Support for Swift Concurrency. (#187)
- API surface improvements (#249, #228, #187)
GIDSignIn- New
configurationproperty. - Removed
Configuration:arguments fromsignIn:methods. - Removed
addScopes:and added it toGIDGoogleUser. - Renamed
callback:arguments tocompletion:for asynchronous methods taking blocks.
- New
GIDGoogleUser- New
configurationproperty. - New
addScopes:method moved fromGIDSignIn. - Removed
authenticationproperty and replaced it with:- New
accessTokenproperty. - New
refreshTokenproperty. - New
idTokenproperty. - New
fetcherAuthorizerproperty. - New
refreshTokensIfNeededWithCompletion:method.
- New
- New
- New
GIDTokenclass to represent access, refresh, and ID tokens inGIDGoogleUser. - New
GIDSignInResultclass to represent the result of a successful signIn or addScopes flow. - Removed
GIDSignInCallback,GIDDisconnectCallback, andGIDAuthenticationActionblock type definitions.