Class AN_GoogleSignIn
Entry point for the Google Sign In API.
Inheritance
System.Object
AN_GoogleSignIn
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.GMS.Auth
Assembly: cs.temp.dll.dll
Syntax
public static class AN_GoogleSignIn
Methods
GetClient(AN_GoogleSignInOptions)
Create a new instance of AN_GoogleSignInOptions
Declaration
public static AN_GoogleSignInClient GetClient(AN_GoogleSignInOptions options)
Parameters
Type | Name | Description |
---|---|---|
AN_GoogleSignInOptions | options | A AN_GoogleSignInOptions used to configure the GoogleSignInClient. It is recommended to build out a DEFAULT_SIGN_IN. |
Returns
Type | Description |
---|---|
AN_GoogleSignInClient |
GetLastSignedInAccount()
AN_GoogleSignInClient Gets the last account that the user signed in with
Declaration
public static AN_GoogleSignInAccount GetLastSignedInAccount()
Returns
Type | Description |
---|---|
AN_GoogleSignInAccount | AN_GoogleSignInAccount from last known successful sign-in. If user has never signed in before or has signed out / revoked access, null is returned. |