A client for the Credential Saving API.
The Credential Saving APIs can be used to save credentials. The only type of credential that is currently supported by this API is a pair of username/password.
The Credential Saving APIs guide the user through the Google account selection before saving a credential. The recommended process for saving a credential using this API is as follows:
- Get a new API client instance by calling
CredentialSavingClient.savePassword, supplying the constructed
SavePasswordRequestas an input.
- If the request is successful, launch the
resultof the operation to display the UI that guides the user through the flow of saving password. The success or failure result will be returned in
Public Method Summary
Inherited Method Summary
public abstract Task<SavePasswordResult> savePassword (SavePasswordRequest savePasswordRequest)
Initiates the storage of a password-backed credential that can later be used to sign a user in.
|savePasswordRequest||container for the
Taskwhich eventually contains the result of the initialization