# Identity

public final class **Identity** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
The entry point to the Sign-In APIs.

### Public Method Summary

|---|---|
| static [AuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient) | [getAuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getAuthorizationClient(android.content.Context))([Context](https://developer.android.com/reference/android/content/Context.html) context) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient`. |
| static [AuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient) | [getAuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getAuthorizationClient(android.app.Activity))([Activity](https://developer.android.com/reference/android/app/Activity.html) activity) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient`. |
| static [CredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient) | [getCredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getCredentialSavingClient(android.app.Activity))([Activity](https://developer.android.com/reference/android/app/Activity.html) activity) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient`. |
| static [CredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient) | [getCredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getCredentialSavingClient(android.content.Context))([Context](https://developer.android.com/reference/android/content/Context.html) context) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient`. |
| static [SignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient) | [getSignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getSignInClient(android.app.Activity))([Activity](https://developer.android.com/reference/android/app/Activity.html) activity) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient`. |
| static [SignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient) | [getSignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/Identity#getSignInClient(android.content.Context))([Context](https://developer.android.com/reference/android/content/Context.html) context) Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient`. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public static [AuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient)
**getAuthorizationClient** ([Context](https://developer.android.com/reference/android/content/Context.html) context)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient`.

#### public static [AuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient)
**getAuthorizationClient** ([Activity](https://developer.android.com/reference/android/app/Activity.html) activity)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient`.

#### public static [CredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient)
**getCredentialSavingClient** ([Activity](https://developer.android.com/reference/android/app/Activity.html) activity)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient`.

#### public static [CredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient)
**getCredentialSavingClient** ([Context](https://developer.android.com/reference/android/content/Context.html) context)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient`.

#### public static [SignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient)
**getSignInClient** ([Activity](https://developer.android.com/reference/android/app/Activity.html) activity)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient`.

#### public static [SignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient)
**getSignInClient** ([Context](https://developer.android.com/reference/android/content/Context.html) context)

Returns a new instance of `https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient`.