android-components / mozilla.components.service.fxa

Package mozilla.components.service.fxa

Types

Config

class Config : RustObject<RawConfig>

Config represents the server endpoint configurations needed for the authentication flow.

Error

open class Error : Structure

FirefoxAccount

class FirefoxAccount : RustObject<RawFxAccount>

FirefoxAccount represents the authentication state of a client.

FxaResult

class FxaResult<T>

FxaResult is a class that represents an asynchronous result.

OAuthInfo

class OAuthInfo

Profile

class Profile

RawConfig

class RawConfig : PointerType

RawFxAccount

class RawFxAccount : PointerType

RustObject

abstract class RustObject<T> : Closeable

Base class that wraps an non-optional Pointer representing a pointer to a Rust object. This class implements Closeable but does not provide an implementation, forcing all subclasses to implement it. This ensures that all classes that inherit from RustObject will have their Pointer destroyed when the Java wrapper is destroyed.

SyncKeys

class SyncKeys

Exceptions

FxaException

open class FxaException : Exception

Wrapper class for the exceptions thrown in the Rust library, which ensures that the error messages will be consumed and freed properly in Rust.