Граф коммитов

499 Коммитов

Автор SHA1 Сообщение Дата
Ryan Kelly fdafd207a5
Fix clippy complaining about `matches!()`. 2020-10-09 15:34:35 +11:00
Ryan Kelly 815fa67f68
Document how to use default ttl in get_access_token FFI call. 2020-10-09 14:47:46 +11:00
Edouard Oger 9f7614ad07
Implement AuthCircuitBreaker 2020-09-23 11:10:18 -04:00
Ryan Kelly c58640c51f
Strip `/1.0/sync/1.5` prefix if present in self-hosted tokenserver URL. 2020-09-08 14:26:30 +10:00
Mark Hammond 470e3a3c41
Keep the swift linter happy by removing apparently redundant type annotations (#3552) 2020-09-02 12:46:44 +10:00
Lina Cambridge 08ccb21e87
Add Swift bindings for `fxa_gather_telemetry`. (#3442) 2020-08-04 15:14:38 +10:00
Edouard Oger 46e92e24ab
Merge pull request #3448 from tarikeshaq/fix-swift-format
fix swiftformat after update
2020-07-31 14:03:38 -04:00
Tarik Eshaq 0e7961d99d fix swiftformat after swiftformat update 2020-07-31 08:36:38 -07:00
Mark Hammond eb92919285
Collect send-tab telemetry. (#3308)
The intent here is that this gets us closer to a glean world, where the
telemetry isn't part of the public API.

* There's a new `FxaTelemetry` struct which is a grab-bag of all the telemetry
  we collect (which isn't much - even desktop today doesn't gather much). This
  struct is stored in a `RefCell<>` inside `FirefoxAccount`.

* There's a new `fxa_gather_telemetry()` function in the FFI. The idea is that
  android-components *telemetry* code will call this, and translate what it
  gets back into the glean calls it needs to make (ie, android-components will
  also add a couple of new events to `sync-telemetry/metrics.yaml` - note that
  the *send-tab* code doesn't really get involved here.

* Except that the *send-tab* code will need to tell the telemetry code that
  there's probably telemetry to gather. So while it's not magic or fully
  automatic, most of the responsibilities are in the right place and there's
  only a few leaky abstractions.
2020-07-28 17:36:43 +10:00
Vlad Filippov e3e85204d2
Clear devices and client cache more aggressively
Fixes #3348
2020-07-27 22:24:39 -04:00
dependabot-preview[bot] d934ccd5b4
Bump mockito from 0.26.0 to 0.27.0
Bumps [mockito](https://github.com/lipanski/mockito) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/lipanski/mockito/releases)
- [Commits](https://github.com/lipanski/mockito/compare/0.26.0...0.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 09:00:51 +00:00
Edouard Oger 4104ca4e90
Synthesize placeholder AET identifiers if missing 2020-07-23 13:48:15 -04:00
Edouard Oger 7045fa3154
Bug 1652609 backport: When generating a JWE, include `kid` of the target key 2020-07-22 10:43:38 -04:00
Edouard Oger 8137485a42
Factor-out jwcrypto bits 2020-07-22 10:43:24 -04:00
Thom Chiovoloni 821c163ba3 Optimize project layout to avoid bad build performance 2020-07-20 09:56:36 -07:00
Alessio Placitelli 9356e5d3b9 Support the new JVM 1.8 target
This fixes the "Cannot inline bytecode built with JVM target 1.8 into
bytecode that is being built with JVM target 1.6. Please specify proper
'-jvm-target' option" problem.
2020-07-17 06:04:35 +02:00
Edouard Oger f816cbd6d2
Expose ecosystem_user_id 2020-07-16 10:42:37 -04:00
Tarik Eshaq d75b2ba505 Adds optional metrics params 2020-07-09 12:51:05 -07:00
Tarik Eshaq 0159e5f44c Adds validating scopes in authorize_code_using_session_id 2020-07-08 10:59:51 -07:00
Tarik Eshaq 707b2c0ee8 Adds using protobufs to pass arguments 2020-07-08 09:28:39 -07:00
Tarik Eshaq 276ac5d4b8 Adds missing params for auth-using-session-token 2020-07-04 19:34:15 -07:00
Edouard Oger b48746ea35
Merge pull request #3293 from mozilla/dependabot/cargo/mockito-0.26.0
Bump mockito from 0.25.2 to 0.26.0
2020-07-02 10:17:38 -04:00
Tarik Eshaq 3c402dcab0 Adds entrypoint support in beginOauthFlow 2020-06-29 13:06:08 -07:00
dependabot-preview[bot] 40ca90d84f
Bump mockito from 0.25.2 to 0.26.0
Bumps [mockito](https://github.com/lipanski/mockito) from 0.25.2 to 0.26.0.
- [Release notes](https://github.com/lipanski/mockito/releases)
- [Commits](https://github.com/lipanski/mockito/compare/0.25.2...0.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 09:06:16 +00:00
Edouard Oger 29c4250d65
Remove unused profile fields 2020-06-26 13:18:29 -04:00
Tarik Eshaq 76138a55ee Short circuit if rate limited, until timeout period passes 2020-06-16 12:06:14 -07:00
Edouard Oger 8ca3360307
Use Android SDK's side-by-side NDK 2020-06-11 19:15:30 -04:00
Tarik Eshaq 9a25ed0928 Removes node test helper
- Removes testing/sync-test/helper and replaces
it with direct api calls to the FxA auth server

- Implements key derivation in test_helpers and
http_client. to allow tests to get the keys.
2020-06-10 09:47:28 -07:00
Tarik Eshaq 4547a6726e adds jwe-encryption in scoped_keys 2020-06-08 09:29:07 -07:00
Edouard Oger ec18138778
Make rust's 1.44.0 cargo clippy happy 2020-06-04 20:10:09 -04:00
Edouard Oger 3d9b9235d0
Remove byteorder dependency 2020-06-02 11:40:29 -04:00
Edouard Oger d6f64c9a1e
Merge pull request #3177 from mozilla/handle-unknown-push-command-with-data
Handle unknown push "command" values even if they have associated data
2020-05-29 09:43:56 -04:00
Ryan Kelly 0f2f8ebe33
Handle unknown push "command" values even if they have associated data. 2020-05-29 14:02:12 +10:00
Tarik Eshaq 4f434a1e90 uses thiserror and anyhow to replace failure
- Updates components/support/error/src/lib.rs to have
its own backtrace rather than using failure::backtrace
- Changes all occurences of #[derive(failure::Fail)] with
 #[derive(thiserror::Error)]
- Changes all occurences of failure::Error with anyhow::Error
- Replaces Result<T, failure::Error> with anyhow::Result<T>
- Bumps ece, find_places_db and hawk so that they don't use
 failure either
- Modifies rc_crypto/ece_crypto to work with ece v1.2
2020-05-28 10:55:54 -07:00
Hector Zhao 8bfd02e47a Special case pairing url for China FxA stack 2020-05-27 15:35:50 +08:00
Edouard Oger 823bf9bdd7
Run cargo update [ci full] 2020-05-22 14:38:12 -04:00
dependabot-preview[bot] 52b95f6a2e
Bump once_cell from 1.3.1 to 1.4.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 10:21:24 -04:00
Edouard Oger 77a7f5eb12
Use stored session token in get_attached_clients 2020-05-14 11:15:41 -04:00
lougeniac64 8f96a14ee4 Added debouncing to get devices function 2020-05-08 06:10:22 -04:00
Edouard Oger f7703a72c9
Reset Send Tab keys on decrypt error 2020-05-06 13:26:04 -04:00
Edouard Oger 99e9143a70
Use .afterFirstUnlock accessibility 2020-05-05 19:16:56 -04:00
Edouard Oger 76d108d55a
Cargo update 2020-05-05 13:12:59 -04:00
Edouard Oger 25a09e62eb Relax URL version 2020-04-30 17:56:50 +00:00
lougeniac64 8f1cf4e2ee Added attached_clients function 2020-04-30 13:28:43 -04:00
Edouard Oger f024577453
Remove outdated comments [ci skip] 2020-04-29 19:06:08 -04:00
Edouard Oger ca9ca0203b
Merge pull request #3046 from mozilla/dependabot/cargo/dialoguer-0.5.1
Bump dialoguer from 0.5.0 to 0.5.1
2020-04-29 18:09:18 -04:00
Edouard Oger 63db43d0e4
Workaround protobuf bug 2020-04-29 17:44:02 -04:00
dependabot-preview[bot] d44dbea301
Bump dialoguer from 0.5.0 to 0.5.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases)
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.5.0...0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 08:49:52 +00:00
Edouard Oger 6d954a2fb6
Downgrade protobuf-javalite to 3.9.2 2020-04-24 14:42:22 -04:00
Edouard Oger f2f04bd6a2
Rust 1.34.0 fixes 2020-04-23 13:48:13 -04:00
Nishant Bhasin b2b66cb7c6
Allow FxA profile to refresh even when there exists a profile 2020-04-21 20:57:33 -04:00
Edouard Oger dc813e2f50
Expose forceRefresh to refreshProfile 2020-04-21 20:56:56 -04:00
Edouard Oger c93af01810 Get introspection_endpoint from .well-known/openid-configuration 2020-04-22 00:03:57 +00:00
Edouard Oger 573994bbc8 Actually lazily fetch RemoteConfig 2020-04-22 00:03:57 +00:00
Edouard Oger 7603e8b999
Derive Serialize for AccountEvent and IncomingDeviceCommand 2020-04-20 17:08:38 -04:00
Edouard Oger a3310bc218
Exclude mobile bindings from cargo packaging 2020-04-20 14:17:55 -04:00
Edouard Oger 019a9c69c2
NSS build fixes for gecko 2020-04-09 16:22:40 -04:00
Edouard Oger fcba8c5ab1
Merge pull request #2929 from yabirgb/2918-replace-json-macro
2918 replace json macro
2020-04-09 15:42:33 -04:00
Yabir G 62785bce70
Created a new enum OAuthTokenRequest that abstracts the usage
in the code of the request to the API using the specification at
8ae0e6876a/packages/fxa-auth-server/lib/oauth/routes/token.js (L70-L152)

- Modified the code that make use of `make_oauth_token_request`
- Use grant_type as key for internal tag
- Add tests for OAuthTokenRequest
2020-04-09 21:27:31 +02:00
Edouard Oger 3f5f66d68f
Replace build-generated rust protobuf files by pre-generated ones 2020-04-08 16:19:30 -04:00
Edouard Oger 4e5f54d066
Update Android dependencies 2020-04-08 13:23:31 -04:00
Edouard Oger 3407ac1f54
Replace msg_types package names 2020-04-08 13:08:14 -04:00
Edouard Oger 9ec08bb396
Use swift_prefix for Swift 2020-04-08 13:08:14 -04:00
Edouard Oger 716d1343e6
optimize_for LITE_RUNTIME 2020-04-08 13:08:14 -04:00
James Hugman 1ecf3cb952
2334 - Add ttl to get_access_token.
Fixes #2334.

Adds an optional `ttl` parameter to kotlin and swift interfaces, to limit the time that tokens are cached.

The FFI uses a `zero` as a default parameter, but this is not exposed to either side of the boundary.

This is not expected to be a breaking change for the iOS and Android.
2020-04-08 16:36:24 +01:00
Thom Chiovoloni 37c001daa5
Use ffi-support from crates.io 2020-04-01 09:39:20 -07:00
Ryan Kelly 264c8a91f2
Add fxa-client config for working with a local dev environment.
This makes it slightly more convenient to use a locally-compiled
consumer of our components against a local FxA dev stack.
2020-04-01 17:25:32 +11:00
dependabot-preview[bot] c0dbf1eec9
Bump serde_json from 1.0.48 to 1.0.50
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-31 08:44:38 +00:00
Edouard Oger b3dc635930
Extract viaduct reqwest backend into its own crate 2020-03-27 16:30:30 -04:00
Edouard Oger 5f750f8607
Merge pull request #2848 from mozilla/remove-unused-dependencies
Remove some unused dependencies
2020-03-25 11:59:52 -04:00
Edouard Oger fed72517e8
Remove some unused dependencies 2020-03-25 11:42:54 -04:00
Vlad Filippov d4d736352c
Fix string leaks in RustFxAccount
Fixes #2835
2020-03-24 09:44:22 -04:00
Edouard Oger 0e2049bfd7
Rename Server.dev to Server.stage 2020-03-18 16:25:17 -04:00
Vlad Filippov 8cb4ca89c2
Construct most FxA urls in the config
Fixes #1419
2020-03-16 17:34:02 -04:00
Edouard Oger 66a2659a85
Merge pull request #2815 from mozilla/pairing-url
Add getPairingAuthorityUrl
2020-03-16 10:02:21 -04:00
Edouard Oger 452021dd35
Add getPairingAuthorityUrl 2020-03-16 09:37:41 -04:00
Ryan Kelly 35d02ca023
Remove incorrect reference to SAML.
We don't do any SAML at the tokenserver endpoint, it's either
BrowserID or OAuth.
2020-03-16 12:38:16 +11:00
Edouard Oger f18b8807b4
Run cargo update [ci full] 2020-03-13 15:59:03 -04:00
Edouard Oger a1012cbfb2
Run getManageAccountURL and getTokenServerEndpointURL on background thread 2020-03-13 14:01:45 -04:00
Edouard Oger 05ad9227ad
Allow token server URL override 2020-03-13 11:34:03 -04:00
Edouard Oger beb3f2f795
Only deserialize the `active` field in oauth/introspect response 2020-03-11 14:46:10 -04:00
YLyu 671c65c866
Use extention functions to get collection message 2020-03-07 12:46:26 -05:00
Edouard Oger f47ffab456
Run getAccessToken in a background thread
This underlying method being call does network calls, so we should
definitely run this in a background thread.
2020-03-05 11:43:20 -05:00
Edouard Oger 6184f65d98
Run tryPersistState synchronously
Running this method asynchronously doesn't make sense in the new
FxAccountManager world as every call to FxAccount is wrapped in an
async wrapper anyway.
2020-03-05 11:43:09 -05:00
Edouard Oger 2be90b98bc
Reflect device name changes in DeviceConfig
After a successful password change, the DeviceConfig gets restored,
overwritting any previous device name change since they are not
stored locally.
2020-03-04 19:26:48 -05:00
Edouard Oger 6514d30c8d
Add `FxAccountManager.handlePasswordChanged` 2020-03-04 19:26:39 -05:00
Edouard Oger 1c492b2185
Rename OAuth tokens http methods 2020-03-03 11:20:28 -05:00
Edouard Oger 75376f5f0e Add helper methods for China servers 2020-03-03 09:56:13 -05:00
Nick Alexander 2921db3571
Do not force Android packaging tasks to re-run on every build.
There where two issues.  The most obvious is that the task name that
merges JNI libraries has evolved; it's now `merge{...}JniLibFolders`.

The second, which really caught me out, is that when both
`main.jniLibs.srcDirs` and `debug.jniLibs.srcDirs` contain the same
path, then the Android source set merger silently fails.  I don't
really understand what's happening here, I just know that using only
`main.jniLibs.srcDirs` solves the issue.

Fixes #2659.
2020-03-02 12:08:26 +11:00
Edouard Oger 93dae49d38
Register persistence callback in offline migration recovery flows 2020-02-25 16:23:50 -05:00
Ryan Kelly 502ab1a89a
Avoid unnecessary calls to the server in FirefoxAccount.ensure_capabilities.
If the set of capabilities has not changed since the last time we registered
with the server, then we don't need to upload a copy of what it already has.
2020-02-21 10:36:24 +11:00
Edouard Oger 239196463c
Return full URL in getTokenServerEndpointURL 2020-02-19 11:15:51 -05:00
Edouard Oger e6056436ca
FxaAccountManager -> FxAccountManager 2020-02-19 10:24:28 -05:00
Edouard Oger a84bb9fee5
Add Session Token migration to FxAccountManager 2020-02-19 10:01:47 -05:00
Ryan Kelly 966a8ed31b
Refactor FxA persisted-state logic so that it's all in one place.
This makes it a little easier to write narrative documentation about
how the state-persistence works, and hopefully easier for readers to
locate the code in question.
2020-02-19 07:01:49 +11:00
Edouard Oger 9d5bdc6bcc
Merge pull request #2648 from mozilla/refresh-devices-list-on-push
Refresh devices on Device (Di)Connected push notification
2020-02-18 13:51:31 -05:00
Vlad Filippov a9f50d48bf
Add oauth webchannel context to the management url, add token_server_url
Fixes #2563
2020-02-14 16:32:15 -05:00
Edouard Oger ecbeaba244
Merge pull request #2657 from mozilla/destroy-the-token
Destroy token properly
2020-02-14 15:12:41 -05:00
Edouard Oger 9518c2a50d
Destroy token properly 2020-02-14 14:35:40 -05:00
Edouard Oger 4eac135ce0
Refresh devices on Device (Di)Connected push notification 2020-02-13 10:14:42 -05:00
Edouard Oger f15e676079
Add deviceId to AccountEvent.deviceDisconnected 2020-02-12 16:49:13 -05:00
Edouard Oger d65dde5027
"Take" toProcess in every processEvent iteration 2020-02-12 13:55:47 -05:00
Edouard Oger 5cf1f900d0
Add FxAccountManager.getSessionToken 2020-02-12 11:36:24 -05:00
Edouard Oger b435d8c3f8
Merge pull request #2522 from mozilla/handle-all-push-events
Handle all push events
2020-02-11 16:07:48 +01:00
Edouard Oger 8db9033668
Do not notify auth errors on checkAuthorizationStatus 2020-02-10 15:59:51 -05:00
Edouard Oger 1e9971ac25
Handle all possible FxA push payloads 2020-02-10 15:37:52 -05:00
Ryan Kelly 143abc0e69
Merge remote-tracking branch 'origin/release-0.50.x' into merge-v0.50.0 2020-02-06 10:32:36 +11:00
Thom Chiovoloni 78627b5959
Don't use a bool argument over the FFI in fxa_migrate_from_session_token 2020-02-06 08:37:36 +11:00
Ryan Kelly a704385479
Merge remote-tracking branch 'origin/master' into merge-v0.50.0 2020-02-06 07:50:55 +11:00
Ryan Kelly a87a09bad5
Have is_in_migration_state return what *kind* of migration we're doing.
Consumers may need to take different follow-up actions depending on whether
they're re-using or duplicating the sessionToken during migration, so let's
expose that state to the recovery process.
2020-02-05 22:58:17 +11:00
Ryan Kelly 1b3a9708ba
Have FirefoxAccount migration methods persist account state on failure.
Migration-related methods on the FirefoxAccount object can modify the
account state and then fail, for example if it's possible to retry the
migration at a later time. This commit ensures that such modifications
will be persisted by the Kotlin wrapper code.
2020-02-05 22:35:11 +11:00
Vlad Filippov c48c69e464
Add offline use case for 'migrateFromSessionToken'
Fixes #2396
2020-02-03 00:01:50 +01:00
Vlad Filippov 5f67f64592
Add offline use case for 'migrateFromSessionToken'
Fixes #2396
2020-01-31 15:43:56 +01:00
Edouard Oger 47a84bc47e
Merge pull request #2454 from mozilla/swift-fxa-mgr
FxA Account manager [ci skip]
2020-01-29 10:27:55 +01:00
Edouard Oger 4fd2b1d195
Run cargo update 2020-01-28 09:30:54 +01:00
Edouard Oger 81d45d3df7
Swift Firefox Account Manager 2020-01-28 05:12:37 +01:00
Ryan Kelly 056071c5d9
Update additional prost-related dependencies. 2020-01-20 15:41:26 +11:00
dependabot-preview[bot] fa88998a2e
[Security] Bump prost from 0.5.0 to 0.6.1
Bumps [prost](https://github.com/danburkert/prost) from 0.5.0 to 0.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/danburkert/prost/releases)
- [Commits](https://github.com/danburkert/prost/compare/v0.5.0...v0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 14:01:59 +11:00
Edouard Oger ec952ad200
Upgrade reqwest to 0.10 2020-01-14 14:15:49 -05:00
Ryan Kelly 9a00b1d2d7
Allow loading FxA Config objects that do not have `introspection_endpoint`.
In #2321 we added a new `introspection_endpoint` field to the FxA
RemoteConfig object, but it was added in a way that is not compatible
with previously-serialized objects. If we try to load, say, an existing
FxA state that Fenix has saved to disk, it will throw an error about the
missing `introspection_endpoint` field.

This commit makes the `introspection_endpoint` an `Option<String>` so
that we can safely deserialize state where it's missing. It also fixes
the existing tests that *should* have caught this, but didn't.

Fixes #2464.
2020-01-13 21:39:10 +11:00
Thom Chiovoloni a5c2a16af3
Re-enable redundant-clone lint. Fixes #2425 2020-01-03 14:36:45 -05:00
Edouard Oger 4ffb677e66
Fix clippy issues 2020-01-03 10:11:48 -05:00
Vlad Filippov d0f2fa8da9
Let Fenix be able to migrate the session token without creating a new one
Fixes https://github.com/mozilla/application-services/issues/1677
2019-12-28 15:47:50 -05:00
dependabot-preview[bot] d5fdbac26f
Bump serde_json from 1.0.42 to 1.0.44
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.42 to 1.0.44.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.42...v1.0.44)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 13:25:41 +00:00
Thom Chiovoloni f70ae79b45
Fix use of `unsafe` in fxa FFI 2019-12-05 16:26:02 -08:00
Edouard Oger 179123c54e
Merge pull request #2320 from mozilla/cargo-update
Update dependencies
2019-12-04 21:26:39 -05:00
Christina Cheung 1a1055a18e
Add FirefoxAccount.checkAuthorizationStatus()
Co-authored-by: Edouard Oger <eoger@fastmail.com>
2019-12-04 13:15:33 -05:00
Edouard Oger 6194f39fbd
Update dependencies 2019-12-03 17:11:05 -05:00
Ryan Kelly bb1c546cb3
Add explicit evaluation-order dependenies on the full-megazord.
Our gradle configuration happens to evaluate the full-megazord
project before evaluating any of the projects that depend on it,
but AFAICT that's entirely by accident - if you try to add a new
project whose name sorts earlier than "full-megazord" then gradle
will evaluate that project first, and complain when that project
tries to depend on tasks from the full-megazord build.

This commit adds an explicit dependency relationship for all the
projects that depend on full-megazord, so that when our future
selves go to copy-paste an existing `build.gradle` into a new
project named "aardvark" or whatever, we don't get a bunch of
confusing gradle errors.
2019-11-10 15:00:43 +11:00
Thom Chiovoloni 85ab8b63f9
Clippy/rustfmt fixes, and improve safety properties/docs for some parts of the code 2019-11-08 12:00:11 -08:00
dependabot-preview[bot] a7e01983ce
Bump base64 from 0.10.1 to 0.11.0
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.10.1...v0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:10:45 -05:00
dependabot-preview[bot] 04fc6e5d60
Bump dialoguer from 0.4.0 to 0.5.0
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases)
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/0.4.0...0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 14:35:23 +00:00
Vlad Filippov f68ffb795c
Android: Add ability to get an OAuth code using a session token via the `authorizeAuthCode` method. 2019-10-28 23:33:10 -04:00
Edouard Oger f7d2326545
Merge pull request #1974 from mozilla/dependabot/cargo/failure-0.1.6
Bump failure from 0.1.5 to 0.1.6
2019-10-16 10:35:13 -04:00
dependabot-preview[bot] 4c146ba7fb
Bump mockiato from 0.9.4 to 0.9.5
Bumps [mockiato](https://github.com/mockiato/mockiato) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/mockiato/mockiato/releases)
- [Changelog](https://github.com/mockiato/mockiato/blob/master/changelog.md)
- [Commits](https://github.com/mockiato/mockiato/compare/0.9.4...0.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 04:33:34 +00:00
dependabot-preview[bot] a452bc3bce
Bump failure from 0.1.5 to 0.1.6
Bumps [failure](https://github.com/rust-lang-nursery/failure) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/rust-lang-nursery/failure/releases)
- [Changelog](https://github.com/rust-lang-nursery/failure/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-lang-nursery/failure/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 04:30:38 +00:00
dependabot-preview[bot] 639a16f406
Bump mockiato from 0.9.2 to 0.9.4
Bumps [mockiato](https://github.com/mockiato/mockiato) from 0.9.2 to 0.9.4.
- [Release notes](https://github.com/mockiato/mockiato/releases)
- [Changelog](https://github.com/mockiato/mockiato/blob/master/changelog.md)
- [Commits](https://github.com/mockiato/mockiato/compare/0.9.2...0.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 14:13:15 +00:00
Ryan Kelly 7af05630ef
Persist OAuth access tokens in the account state. 2019-09-24 18:06:12 -04:00
dependabot-preview[bot] 41eb6f73f4
Bump hex from 0.3.2 to 0.4.0
Bumps [hex](https://github.com/KokaKiwi/rust-hex) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases)
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.3.2...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 23:09:06 +00:00
Vlad Filippov ae767f07b7
Add ability to get the current device id 2019-09-17 19:48:44 -04:00
dependabot-preview[bot] 4a3f552dc4
Bump serde from 1.0.100 to 1.0.101
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-17 15:25:27 +00:00
Edouard Oger 8f7bed87ec
Merge pull request #1793 from mozilla/dependabot/cargo/serde_derive-1.0.101
Bump serde_derive from 1.0.100 to 1.0.101
2019-09-17 11:23:35 -04:00
Vlad Filippov d6d5764e41
Add ability to attach a session token from the OAuth code flow
Ref: https://github.com/mozilla/fxa/pull/2442
2019-09-16 15:17:03 -04:00
dependabot-preview[bot] ac5b33625d
Bump serde_derive from 1.0.100 to 1.0.101
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 18:16:31 +00:00
dependabot-preview[bot] fb2b3d5ed1
Bump serde from 1.0.99 to 1.0.100
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 20:15:11 +00:00
dependabot-preview[bot] 81fe16e71e
Bump serde_derive from 1.0.99 to 1.0.100
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 19:03:57 +00:00
dependabot-preview[bot] fe67748546
Bump ring from 0.16.8 to 0.16.9
Bumps [ring](https://github.com/briansmith/ring) from 0.16.8 to 0.16.9.
- [Release notes](https://github.com/briansmith/ring/releases)
- [Commits](https://github.com/briansmith/ring/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 15:15:53 +00:00
dependabot-preview[bot] c271c8fae5
Bump lazy_static from 1.3.0 to 1.4.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 17:47:15 +00:00
vladikoff 6b9a791738
Add support for a webchannel redirect behaviour 2019-08-22 14:06:20 -07:00
dependabot-preview[bot] 896ec75e8f
Bump serde from 1.0.98 to 1.0.99
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 16:10:52 +00:00
dependabot-preview[bot] 5a95cf8f90
Bump serde_derive from 1.0.98 to 1.0.99
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 15:46:31 +00:00
Edouard Oger bb58a63a7d
Fix Rust 1.37.0 warnings 2019-08-15 14:46:07 -04:00
Edouard Oger c729bede61
Merge pull request #1570 from mozilla/use-rustece-dyn
Use rust-ece with rc_crypto dynamic backend
2019-08-14 13:44:52 -04:00
Edouard Oger 31dfb84743
Use rust-ece with rc_crypto dynamic backend 2019-08-14 13:29:45 -04:00
dependabot-preview[bot] 292bbccfde
Bump ring from 0.16.5 to 0.16.7
Bumps [ring](https://github.com/briansmith/ring) from 0.16.5 to 0.16.7.
- [Release notes](https://github.com/briansmith/ring/releases)
- [Commits](https://github.com/briansmith/ring/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 17:46:29 +00:00
Edouard Oger 32531ea528
Do not error-out on unknown push commands 2019-08-09 14:43:56 -04:00
Edouard Oger d5fdafa3f8
Add VR and TV device types 2019-08-08 13:37:46 -04:00
Edouard Oger 9ce80ec7a1
Destroy the refresh token after fetching the device list 2019-08-07 14:08:16 -04:00
Edouard Oger a0dbc2ccd4
Remove wantsKeys from beginOAuthFlow 2019-08-06 11:36:38 -04:00
dependabot-preview[bot] 018ef1c049
Bump serde from 1.0.97 to 1.0.98
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 19:19:42 +00:00
Edouard Oger 2b8b0b5733
Merge pull request #1483 from mozilla/dependabot/cargo/serde_derive-1.0.98
Bump serde_derive from 1.0.97 to 1.0.98
2019-07-29 15:16:46 -04:00
dependabot-preview[bot] 49a3e025fd
Bump ring from 0.16.2 to 0.16.5
Bumps [ring](https://github.com/briansmith/ring) from 0.16.2 to 0.16.5.
- [Release notes](https://github.com/briansmith/ring/releases)
- [Commits](https://github.com/briansmith/ring/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 18:19:06 +00:00
dependabot-preview[bot] bf366edcc8
Bump serde_derive from 1.0.97 to 1.0.98
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 18:18:33 +00:00
dependabot-preview[bot] 5e1e44d4ff
Bump log from 0.4.7 to 0.4.8
Bumps [log](https://github.com/rust-lang/log) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 17:45:52 +00:00
dependabot-preview[bot] 5c49359ffb
Bump serde from 1.0.94 to 1.0.97
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 10:51:53 -04:00
Edouard Oger 460de86065
Merge pull request #1439 from mozilla/dependabot/cargo/ring-0.16.0
Bump ring from 0.14.6 to 0.16.0
2019-07-22 10:48:14 -04:00
Edouard Oger c186678ef4
Merge pull request #1440 from mozilla/dependabot/cargo/serde_derive-1.0.97
Bump serde_derive from 1.0.94 to 1.0.97
2019-07-22 10:48:05 -04:00
Edouard Oger 7e0d7cb9e8
Merge pull request #1444 from mozilla/dependabot/cargo/openssl-0.10.24
Bump openssl from 0.10.23 to 0.10.24
2019-07-22 10:47:16 -04:00
dependabot-preview[bot] 36782e8f88
Bump openssl from 0.10.23 to 0.10.24
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.23 to 0.10.24.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.23...openssl-v0.10.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 09:56:57 -04:00
dependabot-preview[bot] 2306a9ed01
Bump serde_derive from 1.0.94 to 1.0.97
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 09:56:06 -04:00
dependabot-preview[bot] d5fc7c34b2
Bump ring from 0.14.6 to 0.16.0
Bumps [ring](https://github.com/briansmith/ring) from 0.14.6 to 0.16.0.
- [Release notes](https://github.com/briansmith/ring/releases)
- [Commits](https://github.com/briansmith/ring/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 09:55:52 -04:00
Christina Cheung 8780706708
Fixes #1434: rearrange cloning of session token 2019-07-19 17:12:36 -04:00
Thom Chiovoloni d4f61edeea
Merge branch 'master' into omegazord 2019-07-17 14:42:02 -07:00
Thom Chiovoloni 396ad121d8
Merge branch 'master' into omegazord 2019-07-17 13:03:57 -07:00
Edouard Oger 74dc062dd2
Actually call the persist callback after a profile fetch 2019-07-17 13:46:02 -04:00
Edouard Oger cb10c06262
Throw on null AccountEvent type 2019-07-17 13:41:15 -04:00
Vlad Filippov 21d5195bd3
Add force_auth url from the cached profile 2019-07-16 10:19:45 -04:00
Edouard Oger 71932bdacf
Persist the cached profile 2019-07-16 10:17:17 -04:00
Edouard Oger e29219e543
Add a disconnect method 2019-07-16 10:17:16 -04:00
Edouard Oger 7502d010da
Split destroy_refresh_token and destroy_access_token 2019-07-16 10:16:56 -04:00
dependabot-preview[bot] 0b82dc03e0
Bump mockiato from 0.8.0 to 0.9.0
Bumps [mockiato](https://github.com/myelin-ai/mockiato) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/myelin-ai/mockiato/releases)
- [Changelog](https://github.com/myelin-ai/mockiato/blob/master/changelog.md)
- [Commits](https://github.com/myelin-ai/mockiato/compare/0.8.0...0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 14:23:06 -04:00
Thom Chiovoloni b0680ffb55
megazord: changelog, address comments from review 2019-07-15 11:19:37 -07:00
Thom Chiovoloni 4eb950f21b
Merge branch 'master' into omegazord 2019-07-15 10:54:28 -07:00
Ryan Kelly e740f9907b
Merge pull request #1367 from mozilla/remove-browserid; r=eoger
fxa-client: Remove BrowserID assertions, and their feature flag.
2019-07-15 13:55:23 +10:00
dependabot-preview[bot] a398178deb
Bump log from 0.4.6 to 0.4.7
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-12 10:26:03 -04:00
Ryan Kelly 045eac162f
fxa-client: Remove BrowserID assertions, and their feature flag.
This removes support for generating BrowserID assertions, and moves some
of the other session-token-using machinery that was beind the "browserid"
into the main package, where it is now enabled by default.
2019-07-10 14:00:42 -04:00
Thom Chiovoloni cb975b17e2
Merge branch 'master' into omegazord 2019-07-09 17:10:18 -07:00
Edouard Oger 270b0ea2a0
rc_crypto initial commit (#1349) 2019-07-09 14:00:48 -04:00
Edouard Oger 899761938d
Use mockiato from crates.io (#1377) 2019-07-08 14:11:07 -04:00
dependabot-preview[bot] bbc296840b
Bump serde_derive from 1.0.93 to 1.0.94
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-05 11:27:41 -04:00
Vlad Filippov 53e8a4fc5a
Merge pull request #1335 from mozilla/dependabot/cargo/serde-1.0.94
Bump serde from 1.0.93 to 1.0.94
2019-07-04 17:26:03 -04:00
dependabot-preview[bot] 1c7d6d1008
Bump serde from 1.0.93 to 1.0.94
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-04 15:10:41 -04:00
Mitchell Hentges e60702f045
Renames publishedArtifacts to publications to match gradle 2019-07-04 09:57:08 -07:00
Edouard Oger bdc6b3ef38
Clippy fixes for rust v1.36.0 2019-07-04 12:08:51 -04:00
Hardik Tewari 8173e8981d
Using lowerCamelCase for FirefoxAccountsError enum variants in swift code #1324 2019-07-02 16:46:08 -07:00
dependabot-preview[bot] 1ed0f358c7
Bump serde_json from 1.0.39 to 1.0.40
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.39...v1.0.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 15:06:13 -04:00
dependabot-preview[bot] e39cc28eeb
Bump openssl from 0.10.20 to 0.10.23
[ci full]

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.20 to 0.10.23.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.20...openssl-v0.10.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 13:29:28 -04:00
Thom Chiovoloni 80e4ffc11d
Use LocalizedError and not Error in swift, and override errorDescription 2019-06-25 10:29:31 -07:00
Vlad Filippov 97b99e38b8
Merge pull request #1312 from mozilla/dependabot/cargo/serde_derive-1.0.93
Bump serde_derive from 1.0.91 to 1.0.93
2019-06-25 12:44:26 -04:00
Vlad Filippov 1ac0ec7b02
Merge pull request #1314 from mozilla/fix-sendtab-devicetype
Fix sendtab mobile type enums
2019-06-25 12:42:28 -04:00