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

FirefoxAccountShaped

interface FirefoxAccountShaped (source)

Facilitates testing consumers of FirefoxAccount.

Functions

getAccessToken

abstract fun getAccessToken(singleScope: String): Deferred<AccessTokenInfo>

getTokenServerEndpointURL

abstract fun getTokenServerEndpointURL(): String

Inheritors

FirefoxAccount

class FirefoxAccount : AutoCloseable, FirefoxAccountShaped

FirefoxAccount represents the authentication state of a client.