DialogButton

@Serializable(with = DialogButtonSerializer::class)
sealed interface DialogButton

The buttons on the FedCM dialog.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = DialogButtonSerializer::class)
data object ConfirmIdpLoginContinue : DialogButton
Link copied to clipboard
@Serializable(with = DialogButtonSerializer::class)
data object ErrorGotIt : DialogButton
Link copied to clipboard
@Serializable(with = DialogButtonSerializer::class)
data object ErrorMoreDetails : DialogButton
Link copied to clipboard
@Serializable(with = DialogButtonSerializer::class)
data class NotDefinedInProtocol(val value: String) : DialogButton

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).