fun beginOAuthFlow(scopes: Array<String>, wantsKeys: Boolean): FxaResult<String> (source)
Constructs a URL used to begin the OAuth flow for the requested scopes and keys.
scopes - List of OAuth scopes for which the client wants access
wantsKeys - Fetch keys for end-to-end encryption of data from Mozilla-hosted services
Return
FxaResult that resolves to the flow URL when complete