Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Account(val accountId: String, val email: String, val name: String, val givenName: String, val pictureUrl: String, val idpConfigUrl: String, val idpSigninUrl: String, val loginState: LoginState, val termsOfServiceUrl: String? = null, val privacyPolicyUrl: String? = null)

Corresponds to IdentityRequestAccount

Link copied to clipboard
@Serializable
enum DialogType : Enum<DialogType>

Whether the dialog shown is an account chooser or an auto re-authentication dialog.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the FedCmDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class DismissDialogRequest(val dialogId: String, val triggerCooldown: Boolean? = null)

Request object containing input parameters for the FedCmDomain.dismissDialog command.

Link copied to clipboard
@Serializable
object DismissDialogResponse

A dummy response object for the FedCmDomain.dismissDialog command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class EnableRequest(val disableRejectionDelay: Boolean? = null)

Request object containing input parameters for the FedCmDomain.enable command.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the FedCmDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

This domain allows interacting with the FedCM dialog.

Link copied to clipboard
@Serializable
enum LoginState : Enum<LoginState>

Whether this is a sign-up or sign-in action for this account, i.e. whether this account has ever been used to sign in to this RP before.

Link copied to clipboard
@Serializable
object ResetCooldownResponse

A dummy response object for the FedCmDomain.resetCooldown command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SelectAccountRequest(val dialogId: String, val accountIndex: Int)

Request object containing input parameters for the FedCmDomain.selectAccount command.

Link copied to clipboard
@Serializable
object SelectAccountResponse

A dummy response object for the FedCmDomain.selectAccount command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.