android-components / mozilla.components.service.fxa.manager / FxaAccountManager / authenticatedAccount

authenticatedAccount

fun authenticatedAccount(): OAuthAccount? (source)

Main point for interaction with an OAuthAccount instance.

Return OAuthAccount if we’re in an authenticated state, null otherwise. Returned OAuthAccount may need to be re-authenticated; consumers are expected to check accountNeedsReauth.