GetSignInIntentRequest
Stay organized with collections
Save and categorize content based on your preferences.
This class is deprecated.
Use Credential
Manager instead.
Request to get a Google sign-in intent.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface android.os.Parcelable
abstract int |
describeContents()
|
abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Public Methods
public boolean equals (Object o)
public String getHostedDomainFilter ()
Returns the hostedDomainFilter
if it was set in the request, or
null
otherwise.
public String getNonce ()
Returns the nonce that was set in the request.
public String getServerClientId ()
Returns the serverClientId
that was set in the request.
public boolean requestVerifiedPhoneNumber ()
This method is deprecated.
No replacement.
Returns whether a verified phone number is requested.
public void writeToParcel (Parcel dest, int
flags)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-09 UTC."],[[["\u003cp\u003e\u003ccode\u003eGetSignInIntentRequest\u003c/code\u003e is deprecated; use Credential Manager instead for Google sign-in.\u003c/p\u003e\n"],["\u003cp\u003eThis class was used to request a Google sign-in intent and allowed specifying server client ID, nonce, and hosted domain filter.\u003c/p\u003e\n"],["\u003cp\u003eA builder class (\u003ccode\u003eGetSignInIntentRequest.Builder\u003c/code\u003e) is available to construct instances of \u003ccode\u003eGetSignInIntentRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request could optionally include parameters like serverClientId, nonce, hostedDomainFilter, and a (now deprecated) request for a verified phone number.\u003c/p\u003e\n"]]],[],null,["# GetSignInIntentRequest\n\npublic class **GetSignInIntentRequest** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nimplements [Parcelable](//developer.android.com/reference/android/os/Parcelable.html) \n**This class is deprecated.** \n\nUse [Credential\nManager](//developer.android.com/training/sign-in/credential-manager) instead.\n\nRequest to get a Google sign-in intent. \n\n### Nested Class Summary\n\n|-------|---|---|---------------------------------------------------------------------------------------------------------------------------------|\n| class | [GetSignInIntentRequest.Builder](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest.Builder) || Builder class for [GetSignInIntentRequest](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest). |\n\n### Inherited Constant Summary\n\nFrom interface android.os.Parcelable \n\n|-----|-------------------------------|---|\n| int | CONTENTS_FILE_DESCRIPTOR | |\n| int | PARCELABLE_WRITE_RETURN_VALUE | |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [GetSignInIntentRequest.Builder](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest.Builder) | [builder](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#builder())() |\n| boolean | [equals](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getHostedDomainFilter](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#getHostedDomainFilter())() Returns the `hostedDomainFilter` if it was set in the request, or `null` otherwise. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getNonce](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#getNonce())() Returns the nonce that was set in the request. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [getServerClientId](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#getServerClientId())() Returns the `serverClientId` that was set in the request. |\n| int | [hashCode](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#hashCode())() |\n| boolean | [requestVerifiedPhoneNumber](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#requestVerifiedPhoneNumber())() *This method is deprecated. No replacement.* |\n| void | [writeToParcel](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest#writeToParcel(android.os.Parcel,%20int))([Parcel](//developer.android.com/reference/android/os/Parcel.html) dest, int flags) |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface android.os.Parcelable \n\n|---------------|--------------------------------------------------------------------------------------------------|\n| abstract int | describeContents() |\n| abstract void | writeToParcel([Parcel](//developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |\n\nPublic Methods\n--------------\n\n#### public static [GetSignInIntentRequest.Builder](/android/reference/com/google/android/gms/auth/api/identity/GetSignInIntentRequest.Builder) **builder** ()\n\n#### public boolean **equals** ([Object](//developer.android.com/reference/java/lang/Object.html) o)\n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getHostedDomainFilter** ()\n\nReturns the `hostedDomainFilter` if it was set in the request, or\n`null` otherwise. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getNonce** ()\n\nReturns the nonce that was set in the request. \n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **getServerClientId** ()\n\nReturns the `serverClientId` that was set in the request. \n\n#### public int **hashCode** ()\n\n#### public boolean **requestVerifiedPhoneNumber** ()\n\n**This method is deprecated.** \n\nNo replacement. \nReturns whether a verified phone number is requested. \n\n#### public void **writeToParcel** ([Parcel](//developer.android.com/reference/android/os/Parcel.html) dest, int flags)"]]