Share via


CredentialManager.RegisterCredentialDescription Method

Definition

Registers a CredentialDescription for an actively provisioned Credential a CredentialProvider has.

[Android.Runtime.Register("registerCredentialDescription", "(Landroid/credentials/RegisterCredentialDescriptionRequest;)V", "", ApiSince=34)]
public void RegisterCredentialDescription (Android.Credentials.RegisterCredentialDescriptionRequest request);
[<Android.Runtime.Register("registerCredentialDescription", "(Landroid/credentials/RegisterCredentialDescriptionRequest;)V", "", ApiSince=34)>]
member this.RegisterCredentialDescription : Android.Credentials.RegisterCredentialDescriptionRequest -> unit

Parameters

request
RegisterCredentialDescriptionRequest

the request data

Attributes

Remarks

Registers a CredentialDescription for an actively provisioned Credential a CredentialProvider has. This registry will then be used to determine where to fetch the requested Credential from. Not all credential types will be supported. The distinction will be made by the JetPack layer. For the types that are supported, JetPack will add a new key-value pair into GetCredentialRequest. These will not be persistent on the device. The Credential Providers will need to call this API again upon device reboot.

Java documentation for android.credentials.CredentialManager.registerCredentialDescription(android.credentials.RegisterCredentialDescriptionRequest).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to