android-components / mozilla.components.service.fxa / FirefoxAccount / completeOAuthFlow

# completeOAuthFlow

`fun completeOAuthFlow(code: String, state: String): Deferred<OAuthInfo>` (source)

Authenticates the current account using the code and state parameters fetched from the redirect URL reached after completing the sign in flow triggered by beginOAuthFlow.

Modifies the FirefoxAccount state.