| // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| // |
| // API docs from [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web). |
| // Attributions and copyright licensing by Mozilla Contributors is licensed |
| // under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/. |
| |
| // Generated from Web IDL definitions. |
| |
| // ignore_for_file: unintended_html_in_doc_comment |
| |
| @JS() |
| library; |
| |
| import 'dart:js_interop'; |
| |
| typedef RefreshPolicy = String; |
| typedef TokenVersion = String; |
| typedef OperationType = String; |
| extension type PrivateToken._(JSObject _) implements JSObject { |
| external factory PrivateToken({ |
| required TokenVersion version, |
| required OperationType operation, |
| RefreshPolicy refreshPolicy, |
| JSArray<JSString> issuers, |
| }); |
| |
| external TokenVersion get version; |
| external set version(TokenVersion value); |
| external OperationType get operation; |
| external set operation(OperationType value); |
| external RefreshPolicy get refreshPolicy; |
| external set refreshPolicy(RefreshPolicy value); |
| external JSArray<JSString> get issuers; |
| external set issuers(JSArray<JSString> value); |
| } |