File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1+ import 'dart:io' ;
2+
13import 'package:aspose_barcode_cloud/aspose_barcode_cloud.dart' ;
24
35Configuration makeConfiguration () {
4- return Configuration (
5- clientId: "Client Id from https://dashboard.aspose.cloud/applications" ,
6- clientSecret:
7- "Client Secret from https://dashboard.aspose.cloud/applications" ,
8- );
6+ final jwtToken = Platform .environment['TEST_CONFIGURATION_ACCESS_TOKEN' ];
7+ if (jwtToken != null ) {
8+ return Configuration (accessToken: jwtToken);
9+ } else {
10+ return Configuration (
11+ clientId: "Client Id from https://dashboard.aspose.cloud/applications" ,
12+ clientSecret:
13+ "Client Secret from https://dashboard.aspose.cloud/applications" ,
14+ );
15+ }
916}
1017
1118Future <void > main () async {
You can’t perform that action at this time.
0 commit comments