| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2016 The LUCI Authors. All rights reserved. | 2 Copyright 2016 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 | 5 |
| 6 The `auth-signin` element displays sign-in/sign-out button, user email and | 6 The `auth-signin` element displays sign-in/sign-out button, user email and |
| 7 avatar. | 7 avatar. |
| 8 It has a google-signin/google-signin-aware element under the hood that handles | 8 It has a google-signin/google-signin-aware element under the hood that handles |
| 9 the actual OAuth logic. | 9 the actual OAuth logic. |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 }, | 77 }, |
| 78 auth_response: { | 78 auth_response: { |
| 79 type: Object, | 79 type: Object, |
| 80 notify: true, | 80 notify: true, |
| 81 }, | 81 }, |
| 82 client_id: { | 82 client_id: { |
| 83 type: String, | 83 type: String, |
| 84 }, | 84 }, |
| 85 profile: { | 85 profile: { |
| 86 type: Object, | 86 type: Object, |
| 87 readOnly: true | 87 readOnly: true, |
| 88 notify: true, |
| 88 }, | 89 }, |
| 89 signed_in: { | 90 signed_in: { |
| 90 type: Boolean, | 91 type: Boolean, |
| 91 readOnly: true, | 92 readOnly: true, |
| 92 value: false, | 93 value: false, |
| 93 notify: true, | 94 notify: true, |
| 94 }, | 95 }, |
| 95 }, | 96 }, |
| 96 | 97 |
| 97 attached: function() { | 98 attached: function() { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 signIn: function() { | 164 signIn: function() { |
| 164 this.$.aware.signIn(); | 165 this.$.aware.signIn(); |
| 165 }, | 166 }, |
| 166 | 167 |
| 167 signOut: function() { | 168 signOut: function() { |
| 168 this.$.aware.signOut(); | 169 this.$.aware.signOut(); |
| 169 } | 170 } |
| 170 }); | 171 }); |
| 171 </script> | 172 </script> |
| 172 </dom-module> | 173 </dom-module> |
| OLD | NEW |