A client for the sign-in API.
| abstract Task<BeginSignInResult> |
beginSignIn(BeginSignInRequest
signInRequest)
Initiates the retrieval of a credential that can assist the caller in signing a
user in to their application.
|
| abstract SignInCredential |
getSignInCredentialFromIntent(Intent data)
Retrieves the
SignInCredential from the Intent
returned upon successful sign-in, throwing an ApiException
if no credential is present.
|
| abstract Task<Void> |
signOut()
Resets internal state related to sign-in.
|
Initiates the retrieval of a credential that can assist the caller in signing a user in to their application.
If the request cannot be honored, an exception will be set on the returned
Task. In all
other cases, a BeginSignInResult
will be returned.
| signInRequest | configuration for the sign-in operation |
|---|
Task which
eventually contains the result of the initializationRetrieves the SignInCredential
from the Intent
returned upon successful sign-in, throwing an ApiException
if no credential is present.
| ApiException |
|---|