android-components / mozilla.components.service.fxa / Config

Config

class Config : RustObject<RawConfig> (source)

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

Constructors

<init>

Config(rawPointer: RawConfig?)

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

Properties

rawPointer

var rawPointer: RawConfig?

Inherited Properties

isConsumed

val isConsumed: Boolean

Functions

destroy

fun destroy(p: RawConfig): Unit

Inherited Functions

close

open fun close(): Unit

consumePointer

fun consumePointer(): T

validPointer

fun validPointer(): T

Companion Object Functions

custom

fun custom(content_base: String): FxaResult<Config>

Set up endpoints used by a custom host for authentication

release

fun release(): FxaResult<Config>

Set up endpoints used in the production Firefox Accounts instance.