apps 0.0.1-beta.12 → 0.0.1-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework-reference.json +1 -1
- package/js/{chunk-TYVDBQSI.js → chunk-4ASNKGCV.js} +2 -2
- package/js/{chunk-YQNLXHHM.js → chunk-4DWF4ZWI.js} +4 -4
- package/js/{chunk-KRSCJDTW.js → chunk-6HSH75OI.js} +20 -0
- package/js/{chunk-S6YVNPFS.js → chunk-G4FT53I7.js} +2 -2
- package/js/{chunk-WVVV4TX2.js → chunk-QS6CAHKC.js} +2 -2
- package/js/{chunk-Z2QY3YTF.js → chunk-S73JGVR5.js} +2 -2
- package/js/{chunk-Y32GRPVD.js → chunk-TG6DOCRO.js} +3 -3
- package/js/{chunk-GPFVWWDZ.js → chunk-YPKG2QO5.js} +1 -1
- package/js/contracts.js +5 -1
- package/js/effect.js +5 -5
- package/js/graphql.js +6 -6
- package/js/host.js +5 -5
- package/js/index.js +3 -3
- package/js/mcp/effect.js +7 -7
- package/js/mcp/stdio.js +7 -7
- package/js/mcp.js +8 -8
- package/js/openapi.js +4 -4
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/host.d.ts +1 -1
- package/types/apps/src/contracts/openapi.d.ts +1 -1
- package/types/apps/src/contracts/protocols/1.d.ts +220 -66
- package/types/apps/src/contracts/protocols/2.d.ts +60 -18
- package/types/apps/src/contracts/protocols/3.d.ts +60 -18
- package/types/apps/src/contracts/protocols/4.d.ts +100 -30
- package/types/apps/src/contracts/protocols/5.d.ts +120 -36
- package/types/apps/src/contracts/provider.d.ts +30 -5
|
@@ -442,10 +442,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
442
442
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
443
443
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
444
444
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
445
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
446
|
+
readonly path: Schema.String;
|
|
447
|
+
}>>;
|
|
445
448
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
446
449
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
447
450
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
448
451
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
452
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
453
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
449
454
|
readonly type: Schema.Literal<"oauth2">;
|
|
450
455
|
}>, Schema.Struct<{
|
|
451
456
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -455,32 +460,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
455
460
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
456
461
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
457
462
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
463
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
464
|
+
readonly path: Schema.String;
|
|
465
|
+
}>>;
|
|
458
466
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
459
467
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
460
468
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
461
469
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
470
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
471
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
462
472
|
readonly type: Schema.Literal<"oauth2">;
|
|
463
473
|
}>, Schema.Struct<{
|
|
464
474
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
475
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
476
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
477
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
478
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
465
479
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
466
480
|
readonly discover: Schema.String;
|
|
467
481
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
468
482
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
469
483
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
470
484
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
471
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
472
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
473
485
|
readonly type: Schema.Literal<"oauth2">;
|
|
474
486
|
}>, Schema.Struct<{
|
|
475
487
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
476
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
477
|
-
readonly tokenUrl: Schema.String;
|
|
478
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
479
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
480
488
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
481
489
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
482
490
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
483
491
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
492
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
493
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
494
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
495
|
+
readonly tokenUrl: Schema.String;
|
|
496
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
497
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
484
498
|
readonly type: Schema.Literal<"oauth2">;
|
|
485
499
|
}>]>>;
|
|
486
500
|
}>;
|
|
@@ -502,10 +516,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
502
516
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
503
517
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
504
518
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
519
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
520
|
+
readonly path: Schema.String;
|
|
521
|
+
}>>;
|
|
505
522
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
506
523
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
507
524
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
508
525
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
526
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
527
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
509
528
|
readonly type: Schema.Literal<"oauth2">;
|
|
510
529
|
}>, Schema.Struct<{
|
|
511
530
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -515,32 +534,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
515
534
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
516
535
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
517
536
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
537
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
538
|
+
readonly path: Schema.String;
|
|
539
|
+
}>>;
|
|
518
540
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
519
541
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
520
542
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
521
543
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
544
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
545
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
522
546
|
readonly type: Schema.Literal<"oauth2">;
|
|
523
547
|
}>, Schema.Struct<{
|
|
524
548
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
549
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
550
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
551
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
552
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
525
553
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
526
554
|
readonly discover: Schema.String;
|
|
527
555
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
528
556
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
529
557
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
530
558
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
531
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
532
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
533
559
|
readonly type: Schema.Literal<"oauth2">;
|
|
534
560
|
}>, Schema.Struct<{
|
|
535
561
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
536
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
537
|
-
readonly tokenUrl: Schema.String;
|
|
538
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
539
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
540
562
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
541
563
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
542
564
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
543
565
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
566
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
567
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
568
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
569
|
+
readonly tokenUrl: Schema.String;
|
|
570
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
571
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
544
572
|
readonly type: Schema.Literal<"oauth2">;
|
|
545
573
|
}>]>>;
|
|
546
574
|
}>;
|
|
@@ -676,10 +704,15 @@ export declare const protocol4: {
|
|
|
676
704
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
677
705
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
678
706
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
707
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
708
|
+
readonly path: Schema.String;
|
|
709
|
+
}>>;
|
|
679
710
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
680
711
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
681
712
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
682
713
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
714
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
715
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
683
716
|
readonly type: Schema.Literal<"oauth2">;
|
|
684
717
|
}>, Schema.Struct<{
|
|
685
718
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -689,32 +722,41 @@ export declare const protocol4: {
|
|
|
689
722
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
690
723
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
691
724
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
725
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
726
|
+
readonly path: Schema.String;
|
|
727
|
+
}>>;
|
|
692
728
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
693
729
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
694
730
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
695
731
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
732
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
733
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
696
734
|
readonly type: Schema.Literal<"oauth2">;
|
|
697
735
|
}>, Schema.Struct<{
|
|
698
736
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
737
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
738
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
739
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
740
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
699
741
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
700
742
|
readonly discover: Schema.String;
|
|
701
743
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
702
744
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
703
745
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
704
746
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
705
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
706
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
707
747
|
readonly type: Schema.Literal<"oauth2">;
|
|
708
748
|
}>, Schema.Struct<{
|
|
709
749
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
710
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
711
|
-
readonly tokenUrl: Schema.String;
|
|
712
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
713
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
714
750
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
715
751
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
716
752
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
717
753
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
754
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
755
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
756
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
757
|
+
readonly tokenUrl: Schema.String;
|
|
758
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
759
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
718
760
|
readonly type: Schema.Literal<"oauth2">;
|
|
719
761
|
}>]>>;
|
|
720
762
|
}>;
|
|
@@ -736,10 +778,15 @@ export declare const protocol4: {
|
|
|
736
778
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
737
779
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
738
780
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
781
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
782
|
+
readonly path: Schema.String;
|
|
783
|
+
}>>;
|
|
739
784
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
740
785
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
741
786
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
742
787
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
788
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
789
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
743
790
|
readonly type: Schema.Literal<"oauth2">;
|
|
744
791
|
}>, Schema.Struct<{
|
|
745
792
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -749,32 +796,41 @@ export declare const protocol4: {
|
|
|
749
796
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
750
797
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
751
798
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
799
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
800
|
+
readonly path: Schema.String;
|
|
801
|
+
}>>;
|
|
752
802
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
753
803
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
754
804
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
755
805
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
806
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
807
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
756
808
|
readonly type: Schema.Literal<"oauth2">;
|
|
757
809
|
}>, Schema.Struct<{
|
|
758
810
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
811
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
812
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
813
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
814
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
759
815
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
760
816
|
readonly discover: Schema.String;
|
|
761
817
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
762
818
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
763
819
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
764
820
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
765
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
766
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
767
821
|
readonly type: Schema.Literal<"oauth2">;
|
|
768
822
|
}>, Schema.Struct<{
|
|
769
823
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
770
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
771
|
-
readonly tokenUrl: Schema.String;
|
|
772
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
773
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
774
824
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
775
825
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
776
826
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
777
827
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
828
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
829
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
830
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
831
|
+
readonly tokenUrl: Schema.String;
|
|
832
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
833
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
778
834
|
readonly type: Schema.Literal<"oauth2">;
|
|
779
835
|
}>]>>;
|
|
780
836
|
}>;
|
|
@@ -930,10 +986,15 @@ export declare const protocol4: {
|
|
|
930
986
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
931
987
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
932
988
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
989
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
990
|
+
readonly path: Schema.String;
|
|
991
|
+
}>>;
|
|
933
992
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
934
993
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
935
994
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
936
995
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
996
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
997
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
937
998
|
readonly type: Schema.Literal<"oauth2">;
|
|
938
999
|
}>, Schema.Struct<{
|
|
939
1000
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -943,32 +1004,41 @@ export declare const protocol4: {
|
|
|
943
1004
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
944
1005
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
945
1006
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1007
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1008
|
+
readonly path: Schema.String;
|
|
1009
|
+
}>>;
|
|
946
1010
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
947
1011
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
948
1012
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
949
1013
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1014
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1015
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
950
1016
|
readonly type: Schema.Literal<"oauth2">;
|
|
951
1017
|
}>, Schema.Struct<{
|
|
952
1018
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1019
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1020
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1021
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1022
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
953
1023
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
954
1024
|
readonly discover: Schema.String;
|
|
955
1025
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
956
1026
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
957
1027
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
958
1028
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
959
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
960
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
961
1029
|
readonly type: Schema.Literal<"oauth2">;
|
|
962
1030
|
}>, Schema.Struct<{
|
|
963
1031
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
964
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
965
|
-
readonly tokenUrl: Schema.String;
|
|
966
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
967
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
968
1032
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
969
1033
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
970
1034
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
971
1035
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1036
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1037
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1038
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1039
|
+
readonly tokenUrl: Schema.String;
|
|
1040
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1041
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
972
1042
|
readonly type: Schema.Literal<"oauth2">;
|
|
973
1043
|
}>]>>;
|
|
974
1044
|
}>;
|