mediation property

MediationType mediation
final

MediationType.Conditional requests a conditional (automatic) create: the platform creates the passkey without showing UI when the user has just signed in with a saved password for the same account, and fails with not-eligible otherwise. Every other value is an ordinary create.

Supported on Android, on iOS/macOS 18+ and in browsers with conditional create.

Implementation

final MediationType mediation;