# ExportCredentialsRequest

Artifact: [androidx.credentials.providerevents:providerevents](https://developer.android.com/jetpack/androidx/releases/credentials-providerevents) [View Source](https://cs.android.com/search?q=file:androidx/credentials/providerevents/transfer/ExportCredentialsRequest.kt+class:androidx.credentials.providerevents.transfer.ExportCredentialsRequest) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/credentials-providerevents#1.0.0-beta01)

*** ** * ** ***


```
class ExportCredentialsRequest
```

<br />

*** ** * ** ***

a request to export a set of credentials into the provider

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | If `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ExportCredentialsRequest#credentialsJson()` is empty, or if it is not a valid JSON |

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ExportCredentialsRequest#ExportCredentialsRequest(kotlin.String)(credentialsJson: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/providerevents/transfer/ExportCredentialsRequest#credentialsJson()` the credentials that are delivered to the provider formatted as per [Fido Credential Exchange Format](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) |

## Public constructors

### ExportCredentialsRequest

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/credentials-providerevents#1.0.0-beta01)

```
ExportCredentialsRequest(credentialsJson: String)
```

## Public properties

### credentialsJson

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/credentials-providerevents#1.0.0-beta01)

```
val credentialsJson: String
```

the credentials that are delivered to the provider formatted as per [Fido Credential Exchange Format](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html)