GetAuthTokenResult constructor

GetAuthTokenResult({
  1. String? token,
  2. List<String>? grantedScopes,
})

Implementation

GetAuthTokenResult({
  /// The specific token associated with the request.
  String? token,

  /// A list of OAuth2 scopes granted to the extension.
  List<String>? grantedScopes,
}) : _wrapped = $js.GetAuthTokenResult(
        token: token,
        grantedScopes: grantedScopes?.toJSArray((e) => e),
      );