mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
463d180cd8
========9b406122ef
Author: Nick Alexander <nalexander@mozilla.com> Bug 1142596 - Post: Use production OAuth and Reading List endpoints. ========9e5368b4aa
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 23:00:34 2015 -0700 Bug 1142596 - Part 4: Make ReadingListSyncAdapter use oauth tokens produced and cached by the authenticator. ========fbef93698d
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 22:49:52 2015 -0700 Bug 1142596 - Part 3: Implement getAuthToken with token types of the form oauth::scope. Be aware that there are two levels of token invalidation relevant here. The first level is when a consumer uses an oauth token and gets a 401; in this case, the consumer *must* call Android's own invalidateAuthToken. The second level is when the oauth client itself gets a 401 trying to fetch an oauth token; in this case, the internal state of the Firefox Account needs to be pushed back. ========e4e2247b4e
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 22:43:26 2015 -0700 Bug 1142596 - Part 2: Extract login state machine delegate encapsulating expirations. ========f1f716cc88
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 22:14:47 2015 -0700 Bug 1142596 - Part 1: Surface Reading List authentication errors. ========5833cbbf71
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 22:01:46 2015 -0700 Bug 1142596 - Pre: Add note about deleting cached oauth tokens. Deleting cached oauth tokens is tracked by Bug 1147245. ========b0165a6c14
Author: Nick Alexander <nalexander@mozilla.com> Date: Tue Mar 24 23:06:49 2015 -0700 Bug 1142596 - Pre: Trim imports.
19 lines
597 B
Java
19 lines
597 B
Java
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
package org.mozilla.gecko.reading;
|
|
|
|
import org.mozilla.gecko.sync.net.MozResponse;
|
|
|
|
public class ReadingListInvalidAuthenticationException extends Exception {
|
|
private static final long serialVersionUID = 7112459541558266597L;
|
|
|
|
public final MozResponse response;
|
|
|
|
public ReadingListInvalidAuthenticationException(MozResponse response) {
|
|
super();
|
|
this.response = response;
|
|
}
|
|
}
|