# CreatePasswordResponse

Artifact: [androidx.credentials:credentials](https://developer.android.com/jetpack/androidx/releases/credentials) [View Source](https://cs.android.com/search?q=file:androidx/credentials/CreatePasswordResponse.kt+class:androidx.credentials.CreatePasswordResponse) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

*** ** * ** ***

<br />

```
public final class CreatePasswordResponse extends CreateCredentialResponse
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.credentials.CreateCredentialResponse](https://developer.android.com/reference/androidx/credentials/CreateCredentialResponse) ||
|   | ↳ | [androidx.credentials.CreatePasswordResponse](https://developer.android.com/reference/androidx/credentials/CreatePasswordResponse) |

*** ** * ** ***

A response of a password saving flow.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/CreatePasswordResponse#CreatePasswordResponse()()` Constructs a `https://developer.android.com/reference/androidx/credentials/CreatePasswordResponse`. |

### Inherited methods

From [androidx.credentials.CreateCredentialResponse](https://developer.android.com/reference/androidx/credentials/CreateCredentialResponse) `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html` `https://developer.android.com/reference/androidx/credentials/CreateCredentialResponse#getData()()`

the response data in the `https://developer.android.com/reference/android/os/Bundle.html` format
`final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/androidx/credentials/CreateCredentialResponse#getType()()`

the credential type determined by the credential-type-specific subclass (e.g. the type for `https://developer.android.com/reference/androidx/credentials/CreatePasswordResponse` is `https://developer.android.com/reference/androidx/credentials/PasswordCredential#TYPE_PASSWORD_CREDENTIAL()` and for `https://developer.android.com/reference/androidx/credentials/CreatePublicKeyCredentialResponse` is `https://developer.android.com/reference/androidx/credentials/PublicKeyCredential#TYPE_PUBLIC_KEY_CREDENTIAL()`)

## Public constructors

### CreatePasswordResponse

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

```
public CreatePasswordResponse()
```

Constructs a `https://developer.android.com/reference/androidx/credentials/CreatePasswordResponse`.