FxaConfig
public struct FxaConfig : Equatable, Hashable
extension FxaConfig: Sendable
-
FxaServer to connect with
Declaration
Swift
public var server: FxaServer -
Registered OAuth client id of the application.
Declaration
Swift
public var clientId: String -
redirect_uri- the registered OAuth redirect URI of the application.Declaration
Swift
public var redirectUri: String -
URL for the user’s Sync Tokenserver. This can be used to support users who self-host their sync data. If
Nonethen it will default to the Mozilla-hosted Sync server.Declaration
Swift
public var tokenServerUrlOverride: String? -
Declaration
Swift
public init( /** * FxaServer to connect with */server: FxaServer, /** * Registered OAuth client id of the application. */clientId: String, /** * `redirect_uri` - the registered OAuth redirect URI of the application. */redirectUri: String, /** * URL for the user's Sync Tokenserver. This can be used to support users who self-host their * sync data. If `None` then it will default to the Mozilla-hosted Sync server. */tokenServerUrlOverride: String? = nil)