# RegistryManager

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

*** ** * ** ***


```
public abstract class RegistryManager
```

<br />

*** ** * ** ***

APIs for managing credential registries that are registered with the Credential Manager.

Use the APIs by constructing a `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager` with the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#create(android.content.Context)` factory method.

## Summary

| ### Constants |
|---|---|
| `static 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/registry/provider/RegistryManager#ACTION_CREATE_CREDENTIAL()` The intent action name that the Credential Manager used to find and invoke your activity when the user attempts to create a credential through your application. |
| `static 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/registry/provider/RegistryManager#ACTION_GET_CREDENTIAL()` The intent action name that the Credential Manager used to find and invoke your activity when the user selects a credential that belongs to your application. |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsResponse` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#clearCreationOptions(androidx.credentials.registry.provider.ClearCreationOptionsRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest request)` Clear creation options that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptionsAsync(androidx.credentials.registry.provider.RegisterCreationOptionsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API. |
| `abstract void` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#clearCreationOptionsAsync(androidx.credentials.registry.provider.ClearCreationOptionsRequest,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest request, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsException> callback )` Clear creation options that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptionsAsync(androidx.credentials.registry.provider.RegisterCreationOptionsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryResponse` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#clearCredentialRegistry(androidx.credentials.registry.provider.ClearCredentialRegistryRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryRequest request)` Clear registries that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentialsAsync(androidx.credentials.registry.provider.RegisterCredentialsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API. |
| `abstract void` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#clearCredentialRegistryAsync(androidx.credentials.registry.provider.ClearCredentialRegistryRequest,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryRequest request, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException> callback )` Clear registries that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentialsAsync(androidx.credentials.registry.provider.RegisterCredentialsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#create(android.content.Context)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context)` Creates a `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager` based on the given `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager.Companion#create(android.content.Context)`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsResponse` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest request)` Registers creation options with the Credential Manager. |
| `abstract void` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptionsAsync(androidx.credentials.registry.provider.RegisterCreationOptionsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest request, https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsException> callback )` Registers creation options with the Credential Manager. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsResponse` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest request)` Registers credentials with the Credential Manager. |
| `abstract void` | `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentialsAsync(androidx.credentials.registry.provider.RegisterCredentialsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest request, https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsException> callback )` Registers credentials with the Credential Manager. |

## Constants

### ACTION_CREATE_CREDENTIAL

```
public static final @NonNull String ACTION_CREATE_CREDENTIAL
```

The intent action name that the Credential Manager used to find and invoke your activity when the user attempts to create a credential through your application. Your activity will be launched and you should use the `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#retrieveProviderCreateCredentialRequest(android.content.Intent)` API to retrieve information contained in `https://developer.android.com/reference/androidx/credentials/provider/ProviderCreateCredentialRequest`.

Next, perform the necessary steps to generate a response for the given request. Pass the result back using one of the `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#setCreateCredentialResponse(android.content.Intent,androidx.credentials.CreateCredentialResponse)` and `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#setCreateCredentialException(android.content.Intent,androidx.credentials.exceptions.CreateCredentialException)` APIs.

### ACTION_GET_CREDENTIAL

```
public static final @NonNull String ACTION_GET_CREDENTIAL
```

The intent action name that the Credential Manager used to find and invoke your activity when the user selects a credential that belongs to your application. Your activity will be launched and you should use the `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#retrieveProviderGetCredentialRequest(android.content.Intent)` API to retrieve information about the user selection (you can do this through `https://developer.android.com/reference/androidx/credentials/registry/provider/package-summary#(androidx.credentials.provider.ProviderCreateCredentialRequest).selectedEntryId()`), the verifier request, and other caller app information contained in `https://developer.android.com/reference/androidx/credentials/provider/ProviderGetCredentialRequest`.

Next, perform the necessary steps (e.g. consent collection, credential lookup) to generate a response for the given request. Pass the result back using one of the `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#setGetCredentialResponse(android.content.Intent,androidx.credentials.GetCredentialResponse,androidx.credentials.provider.ProviderGetCredentialRequest)` and `https://developer.android.com/reference/androidx/credentials/provider/PendingIntentHandler#setGetCredentialException(android.content.Intent,androidx.credentials.exceptions.GetCredentialException)` APIs.

## Public methods

### clearCreationOptions

```
public final @NonNull ClearCreationOptionsResponse clearCreationOptions(@NonNull ClearCreationOptionsRequest request)
```

Clear creation options that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptionsAsync(androidx.credentials.registry.provider.RegisterCreationOptionsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest request` | the request to specify clearing configurations |

| Throws |
|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsException` | If the request fails |

### clearCreationOptionsAsync

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

```
public abstract void clearCreationOptionsAsync(
    @NonNull ClearCreationOptionsRequest request,
    @NonNull Executor executor,
    @NonNull CredentialManagerCallback<@NonNull ClearCreationOptionsResponse, @NonNull ClearCreationOptionsException> callback
)
```

Clear creation options that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptions(androidx.credentials.registry.provider.RegisterCreationOptionsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCreationOptionsAsync(androidx.credentials.registry.provider.RegisterCreationOptionsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API.

This API uses callbacks instead of Kotlin coroutines.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsRequest request` | the request to specify clearing configurations |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor` | the callback will take place on this executor |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCreationOptionsException> callback` | the callback invoked when the request succeeds or fails |

### clearCredentialRegistry

```
public final @NonNull ClearCredentialRegistryResponse clearCredentialRegistry(@NonNull ClearCredentialRegistryRequest request)
```

Clear registries that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentialsAsync(androidx.credentials.registry.provider.RegisterCredentialsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryRequest request` | the request to specify clearing configurations |

| Throws |
|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException` | If the request fails |

### clearCredentialRegistryAsync

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

```
public abstract void clearCredentialRegistryAsync(
    @NonNull ClearCredentialRegistryRequest request,
    @NonNull Executor executor,
    @NonNull CredentialManagerCallback<@NonNull ClearCredentialRegistryResponse, @NonNull ClearCredentialRegistryException> callback
)
```

Clear registries that were registered using the `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` (Kotlin) or `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager#registerCredentialsAsync(androidx.credentials.registry.provider.RegisterCredentialsRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)` (Java) API.

This API uses callbacks instead of Kotlin coroutines.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryRequest request` | the request to specify clearing configurations |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor` | the callback will take place on this executor |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/ClearCredentialRegistryException> callback` | the callback invoked when the request succeeds or fails |

### create

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

```
public static final @NonNull RegistryManager create(@NonNull Context context)
```

Creates a `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager` based on the given `https://developer.android.com/reference/androidx/credentials/registry/provider/RegistryManager.Companion#create(android.content.Context)`.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context` | the context with which the RegistryManager should be associated |

### registerCreationOptions

```
public final @NonNull RegisterCreationOptionsResponse registerCreationOptions(@NonNull RegisterCreationOptionsRequest request)
```

Registers creation options with the Credential Manager.

The registries will then be used by the Credential Manager when handling an app calling request (see `https://developer.android.com/reference/androidx/credentials/CredentialManager`). The Credential Manager will determine if the registry contains some data qualified as a candidate to fulfill the given request, and if so it will surface a user selector UI to collect the user decision for whether to proceed with the operation.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest request` | the request containing the creation options to register |

| Throws |
|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsException` | If the request fails |

### registerCreationOptionsAsync

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

```
public abstract void registerCreationOptionsAsync(
    @NonNull RegisterCreationOptionsRequest request,
    CancellationSignal cancellationSignal,
    @NonNull Executor executor,
    @NonNull CredentialManagerCallback<@NonNull RegisterCreationOptionsResponse, @NonNull RegisterCreationOptionsException> callback
)
```

Registers creation options with the Credential Manager.

This API uses callbacks instead of Kotlin coroutines.

The registries will then be used by the Credential Manager when handling an app calling request (see `https://developer.android.com/reference/androidx/credentials/CredentialManager#createCredential(android.content.Context,androidx.credentials.CreateCredentialRequest)` and `https://developer.android.com/reference/androidx/credentials/CredentialManager#createCredentialAsync(android.content.Context,androidx.credentials.CreateCredentialRequest,android.os.CancellationSignal,java.util.concurrent.Executor,androidx.credentials.CredentialManagerCallback)`). The Credential Manager will determine if the registry contains some data qualified as a candidate to fulfill the given request, and if so it will surface a user selector UI to collect the user decision for whether to proceed with the operation.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsRequest request` | the request containing the creation options to register |
| `https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal` | an optional signal that allows for cancelling this call |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor` | the callback will take place on this executor |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCreationOptionsException> callback` | the callback invoked when the request succeeds or fails |

### registerCredentials

```
public final @NonNull RegisterCredentialsResponse registerCredentials(@NonNull RegisterCredentialsRequest request)
```

Registers credentials with the Credential Manager.

The registries will then be used by the Credential Manager when handling an app calling request (see `https://developer.android.com/reference/androidx/credentials/CredentialManager`). The Credential Manager will determine if the registry contains some credential(s) qualified as a candidate to fulfill the given request, and if so it will surface a user selector UI to collect the user decision for whether to proceed with the operation.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest request` | the request containing the credential data to register |

| Throws |
|---|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsException` | If the request fails |

### registerCredentialsAsync

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

```
public abstract void registerCredentialsAsync(
    @NonNull RegisterCredentialsRequest request,
    CancellationSignal cancellationSignal,
    @NonNull Executor executor,
    @NonNull CredentialManagerCallback<@NonNull RegisterCredentialsResponse, @NonNull RegisterCredentialsException> callback
)
```

Registers credentials with the Credential Manager.

This API uses callbacks instead of Kotlin coroutines.

The registries will then be used by the Credential Manager when handling an app calling request (see `https://developer.android.com/reference/androidx/credentials/CredentialManager`). The Credential Manager will determine if the registry contains some credential(s) qualified as a candidate to fulfill the given request, and if so it will surface a user selector UI to collect the user decision for whether to proceed with the operation.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsRequest request` | the request containing the credential data to register |
| `https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal` | an optional signal that allows for cancelling this call |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor` | the callback will take place on this executor |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/CredentialManagerCallback<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsResponse, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/credentials/registry/provider/RegisterCredentialsException> callback` | the callback invoked when the request succeeds or fails |