Package-level declarations

Types

Link copied to clipboard
data class AccessTokenInfo(var scope: String, var token: String, var key: ScopedKey?, var expiresAt: Long)

An OAuth access token, with its associated keys and metadata.

Link copied to clipboard
sealed class AccountEvent

An event that happened on the user's account.

Link copied to clipboard
data class AttachedClient(var clientId: String?, var deviceId: String?, var deviceType: DeviceType, var isCurrentSession: Boolean, var name: String?, var createdTime: Long?, var lastAccessTime: Long?, var scope: List<String>?)

A client connected to the user's account.

Link copied to clipboard
data class AuthorizationInfo(var active: Boolean)

Information about the authorization state of the application.

Link copied to clipboard
data class AuthorizationParameters(var clientId: String, var scope: List<String>, var state: String, var accessType: String, var codeChallenge: String?, var codeChallengeMethod: String?, var keysJwk: String?)

Parameters provided in an incoming OAuth request.

Link copied to clipboard
data class CloseTabsPayload(var urls: List<String>)

The payload sent when invoking a "close tabs" command.

Link copied to clipboard
sealed class CloseTabsResult

The result of invoking a "close tabs" command.

Link copied to clipboard
data class Device(var id: String, var displayName: String, var deviceType: DeviceType, var capabilities: List<DeviceCapability>, var pushSubscription: DevicePushSubscription?, var pushEndpointExpired: Boolean, var isCurrentDevice: Boolean, var lastAccessTime: Long?)

A device connected to the user's account.

Link copied to clipboard

A "capability" offered by a device.

Link copied to clipboard
data class DeviceConfig(var name: String, var deviceType: DeviceType, var capabilities: List<DeviceCapability>)

Device configuration

Link copied to clipboard
data class DevicePushSubscription(var endpoint: String, var publicKey: String, var authKey: String)

Details of a web-push subscription endpoint.

Link copied to clipboard
interface Disposable
Link copied to clipboard

Object representing the signed-in state of an application.

Link copied to clipboard

Object representing the signed-in state of an application.

Link copied to clipboard
data class FxaConfig(var server: FxaServer, var clientId: String, var redirectUri: String, var tokenServerUrlOverride: String? = null)
Link copied to clipboard
sealed class FxaEvent
Link copied to clipboard
sealed class FxaException : Exception

Generic error type thrown by many `FirefoxAccount` operations.

Link copied to clipboard
Link copied to clipboard
sealed class FxaServer

FxA server to connect to

Link copied to clipboard
sealed class FxaState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Machinery for dry-run testing of FxaAuthStateMachine

Link copied to clipboard

Machinery for dry-run testing of FxaAuthStateMachine

Link copied to clipboard

A command invoked by another device.

Link copied to clipboard
Link copied to clipboard
data class LocalDevice(var id: String, var displayName: String, var deviceType: DeviceType, var capabilities: List<DeviceCapability>, var pushSubscription: DevicePushSubscription?, var pushEndpointExpired: Boolean)

Local device that's connecting to FxA

Link copied to clipboard
data class Profile(var uid: String, var email: String, var displayName: String?, var avatar: String, var isDefaultAvatar: Boolean)

Information about the user that controls a Firefox Account.

Link copied to clipboard
data class ScopedKey(var kty: String, var scope: String, var k: String, var kid: String)

A cryptographic key associated with an OAuth scope.

Link copied to clipboard
data class SendTabPayload(var entries: List<TabHistoryEntry>, var flowId: String = "", var streamId: String = "")

The payload sent when invoking a "send tab" command.

Link copied to clipboard
data class TabHistoryEntry(var title: String, var url: String)

An individual entry in the navigation history of a sent tab.

Link copied to clipboard
data class UserData(var sessionToken: String, var uid: String, var email: String, var verified: Boolean)