credentialProviderPolicyDefault property

String? credentialProviderPolicyDefault
getter/setter pair

Controls which apps are allowed to act as credential providers on Android 14 and above.

These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy. Possible string values are:

  • "CREDENTIAL_PROVIDER_POLICY_DEFAULT_UNSPECIFIED" : Unspecified. Defaults to CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED.
  • "CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED" : Apps with credentialProviderPolicy unspecified are not allowed to act as a credential provider.
  • "CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED_EXCEPT_SYSTEM" : Apps with credentialProviderPolicy unspecified are not allowed to act as a credential provider except for the OEM default credential providers. OEM default credential providers are always allowed to act as credential providers.

Implementation

core.String? credentialProviderPolicyDefault;