OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // TODO(courage): documentation. |
5 namespace identity { | 6 namespace identity { |
6 | 7 |
7 [nodoc] dictionary TokenDetails { | 8 [nodoc] dictionary TokenDetails { |
8 // Whether to prompt the user to log in or grant scope permissions (if they | 9 // Whether to prompt the user to log in or grant scope permissions (if they |
9 // have not already done so). Default is false. | 10 // have not already done so). Default is false. |
10 boolean? interactive; | 11 boolean? interactive; |
11 }; | 12 }; |
12 | 13 |
13 [nodoc] dictionary InvalidTokenDetails { | 14 [nodoc] dictionary InvalidTokenDetails { |
14 // The specific token that should be removed from the cache. | 15 // The specific token that should be removed from the cache. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 49 |
49 // Starts an auth flow at the specified URL. | 50 // Starts an auth flow at the specified URL. |
50 // | 51 // |
51 // |details| : WebAuth flow options. | 52 // |details| : WebAuth flow options. |
52 // |callback| : Called with the URL redirected back to your application. | 53 // |callback| : Called with the URL redirected back to your application. |
53 [nodoc] static void launchWebAuthFlow(WebAuthFlowDetails details, | 54 [nodoc] static void launchWebAuthFlow(WebAuthFlowDetails details, |
54 LaunchWebAuthFlowCallback callback); | 55 LaunchWebAuthFlowCallback callback); |
55 } | 56 } |
56 ; | 57 ; |
57 }; | 58 }; |
OLD | NEW |