@microsoft/sp-http-msgraph 1.22.0-beta.1 → 1.22.0-beta.3

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.
Files changed (31) hide show
  1. package/dist/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +128 -128
  2. package/dist/sp-http-msgraph_default_fd5e59edceff825885a9.js +1 -0
  3. package/dist/sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js +1 -0
  4. package/dist/sp-http-msgraph_qps-ploc_7ba20fbebf39d1ceb228.js +1 -0
  5. package/dist/sp-http-msgraph_qps-ploca_d610f6e5163f549c5d3f.js +1 -0
  6. package/lib/MSGraphAuthenticationProvider.d.ts +12 -0
  7. package/lib/MSGraphAuthenticationProvider.d.ts.map +1 -0
  8. package/lib/MSGraphAuthenticationProvider.js +50 -0
  9. package/lib/MSGraphClient.d.ts +124 -0
  10. package/lib/MSGraphClient.d.ts.map +1 -0
  11. package/lib/MSGraphClient.js +104 -0
  12. package/lib/MSGraphClientFactory.d.ts +55 -0
  13. package/lib/MSGraphClientFactory.d.ts.map +1 -0
  14. package/lib/MSGraphClientFactory.js +106 -0
  15. package/lib/MSGraphClientV3.d.ts +54 -0
  16. package/lib/MSGraphClientV3.d.ts.map +1 -0
  17. package/lib/MSGraphClientV3.js +194 -0
  18. package/lib/SPHttpMsGraphStrings.resx.d.ts +19 -0
  19. package/lib/SPHttpMsGraphStrings.resx.json +1 -0
  20. package/lib/common/Killswitches.d.ts +3 -0
  21. package/lib/common/Killswitches.d.ts.map +1 -0
  22. package/lib/common/Killswitches.js +12 -0
  23. package/lib/index.d.ts +13 -0
  24. package/lib/index.d.ts.map +1 -0
  25. package/lib/index.js +12 -0
  26. package/lib/sp-http-msgraph.manifest.json +14 -0
  27. package/package.json +9 -9
  28. package/dist/sp-http-msgraph_default_4df746036332a4387437.js +0 -1
  29. package/dist/sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js +0 -1
  30. package/dist/sp-http-msgraph_qps-ploc_33b301b92c5a0e988c49.js +0 -1
  31. package/dist/sp-http-msgraph_qps-ploca_94a48b31e48512284936.js +0 -1
@@ -14,261 +14,261 @@
14
14
  "type": "localizedPath",
15
15
  "paths": {
16
16
  "default": {
17
- "path": "sp-http-msgraph_default_4df746036332a4387437.js",
18
- "integrity": "sha256-LiiDcMBkXpqfNWetBKiD84C7oX4b5DsRugtNXSkST0k="
17
+ "path": "sp-http-msgraph_default_fd5e59edceff825885a9.js",
18
+ "integrity": "sha256-PfnkGt+HAiQwDn/9n1u0ZP26OB/snvhD1KA4K3nmatw="
19
19
  },
20
20
  "en-US": {
21
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
22
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
21
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
22
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
23
23
  },
24
24
  "qps-ploca": {
25
- "path": "sp-http-msgraph_qps-ploca_94a48b31e48512284936.js",
26
- "integrity": "sha256-pv4+tKVnwcVYG/ecubLIo/4V7EEgbUyFtsXC24zu4uY="
25
+ "path": "sp-http-msgraph_qps-ploca_d610f6e5163f549c5d3f.js",
26
+ "integrity": "sha256-ODVyMaFTLqDk2Nlk+np7vOpYtBvBqshI5e/JnRtHZ8w="
27
27
  },
28
28
  "qps-ploc": {
29
- "path": "sp-http-msgraph_qps-ploc_33b301b92c5a0e988c49.js",
30
- "integrity": "sha256-JIkSVmcKZ5OjtRRpB4i96pr2awaHMVrtbJftzjHf21I="
29
+ "path": "sp-http-msgraph_qps-ploc_7ba20fbebf39d1ceb228.js",
30
+ "integrity": "sha256-OMZMknS3VmkU/mF6z0J/ZA55t99zU5l6y7xZ34qdaaw="
31
31
  },
32
32
  "en-GB": {
33
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
34
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
33
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
34
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
35
35
  },
36
36
  "en-NZ": {
37
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
38
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
37
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
38
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
39
39
  },
40
40
  "en-IE": {
41
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
42
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
41
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
42
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
43
43
  },
44
44
  "en-AU": {
45
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
46
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
45
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
46
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
47
47
  },
48
48
  "bn": {
49
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
50
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
49
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
50
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
51
51
  },
52
52
  "chr": {
53
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
54
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
53
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
54
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
55
55
  },
56
56
  "dv": {
57
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
58
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
57
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
58
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
59
59
  },
60
60
  "div": {
61
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
62
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
61
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
62
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
63
63
  },
64
64
  "en": {
65
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
66
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
65
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
66
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
67
67
  },
68
68
  "fil": {
69
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
70
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
69
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
70
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
71
71
  },
72
72
  "haw": {
73
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
74
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
73
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
74
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
75
75
  },
76
76
  "iu": {
77
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
78
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
77
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
78
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
79
79
  },
80
80
  "lo": {
81
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
82
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
81
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
82
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
83
83
  },
84
84
  "moh": {
85
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
86
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
85
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
86
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
87
87
  },
88
88
  "sq": {
89
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
90
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
89
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
90
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
91
91
  },
92
92
  "am": {
93
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
94
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
93
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
94
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
95
95
  },
96
96
  "hy": {
97
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
98
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
97
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
98
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
99
99
  },
100
100
  "mk": {
101
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
102
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
101
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
102
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
103
103
  },
104
104
  "bs": {
105
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
106
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
105
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
106
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
107
107
  },
108
108
  "my": {
109
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
110
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
109
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
110
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
111
111
  },
112
112
  "dz": {
113
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
114
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
113
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
114
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
115
115
  },
116
116
  "en-CY": {
117
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
118
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
117
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
118
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
119
119
  },
120
120
  "en-EG": {
121
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
122
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
121
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
122
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
123
123
  },
124
124
  "en-IL": {
125
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
126
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
125
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
126
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
127
127
  },
128
128
  "en-IS": {
129
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
130
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
129
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
130
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
131
131
  },
132
132
  "en-JO": {
133
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
134
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
133
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
134
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
135
135
  },
136
136
  "en-KE": {
137
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
138
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
137
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
138
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
139
139
  },
140
140
  "en-KW": {
141
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
142
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
141
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
142
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
143
143
  },
144
144
  "en-MK": {
145
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
146
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
145
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
146
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
147
147
  },
148
148
  "en-MT": {
149
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
150
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
149
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
150
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
151
151
  },
152
152
  "en-PK": {
153
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
154
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
153
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
154
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
155
155
  },
156
156
  "en-QA": {
157
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
158
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
157
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
158
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
159
159
  },
160
160
  "en-SA": {
161
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
162
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
161
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
162
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
163
163
  },
164
164
  "en-LK": {
165
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
166
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
165
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
166
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
167
167
  },
168
168
  "en-AE": {
169
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
170
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
169
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
170
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
171
171
  },
172
172
  "en-VN": {
173
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
174
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
173
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
174
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
175
175
  },
176
176
  "is": {
177
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
178
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
177
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
178
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
179
179
  },
180
180
  "km": {
181
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
182
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
181
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
182
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
183
183
  },
184
184
  "kh": {
185
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
186
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
185
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
186
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
187
187
  },
188
188
  "mt": {
189
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
190
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
189
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
190
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
191
191
  },
192
192
  "fa": {
193
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
194
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
193
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
194
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
195
195
  },
196
196
  "gd": {
197
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
198
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
197
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
198
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
199
199
  },
200
200
  "sr-Cyrl-BA": {
201
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
202
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
201
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
202
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
203
203
  },
204
204
  "sr-Latn-BA": {
205
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
206
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
205
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
206
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
207
207
  },
208
208
  "sd": {
209
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
210
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
209
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
210
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
211
211
  },
212
212
  "si": {
213
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
214
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
213
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
214
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
215
215
  },
216
216
  "so": {
217
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
218
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
217
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
218
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
219
219
  },
220
220
  "ti-ET": {
221
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
222
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
221
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
222
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
223
223
  },
224
224
  "uz": {
225
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
226
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
225
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
226
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
227
227
  },
228
228
  "en-SG": {
229
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
230
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
229
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
230
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
231
231
  },
232
232
  "en-HK": {
233
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
234
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
233
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
234
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
235
235
  },
236
236
  "en-MY": {
237
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
238
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
237
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
238
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
239
239
  },
240
240
  "en-PH": {
241
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
242
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
241
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
242
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
243
243
  },
244
244
  "en-TT": {
245
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
246
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
245
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
246
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
247
247
  },
248
248
  "en-AZ": {
249
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
250
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
249
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
250
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
251
251
  },
252
252
  "en-BH": {
253
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
254
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
253
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
254
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
255
255
  },
256
256
  "en-BN": {
257
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
258
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
257
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
258
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
259
259
  },
260
260
  "en-ID": {
261
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
262
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
261
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
262
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
263
263
  },
264
264
  "mi": {
265
- "path": "sp-http-msgraph_en-us_ac1fb9f51f76bafaf211.js",
266
- "integrity": "sha256-Abi+Co8X8JkPWlNkNCVqgA4vQRVfhRYTBYrvGdlsczo="
265
+ "path": "sp-http-msgraph_en-us_a2c332cf36198dbffbd9.js",
266
+ "integrity": "sha256-kVI6JMw7GfAgM9kfOfEckYvOoL53Ms1iPu2rPWbY3A8="
267
267
  }
268
268
  },
269
269
  "defaultPath": {
270
- "path": "sp-http-msgraph_default_4df746036332a4387437.js",
271
- "integrity": "sha256-LiiDcMBkXpqfNWetBKiD84C7oX4b5DsRugtNXSkST0k="
270
+ "path": "sp-http-msgraph_default_fd5e59edceff825885a9.js",
271
+ "integrity": "sha256-PfnkGt+HAiQwDn/9n1u0ZP26OB/snvhD1KA4K3nmatw="
272
272
  }
273
273
  },
274
274
  "tslib": {
@@ -0,0 +1 @@
1
+ (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e](n,n.exports,c),n.exports}c.m=o;var d,l,u,f,p,m={"265":"9qKOy1sIKupigtmxWl5l1ZGCQqydXo+NHV6/kPefYgo=","308":"DNprezDuEsVqtej7uqGl216gKFblRPQax03W3E7/mL0="};l=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);c.r(n);var a={};d=d||[null,l({}),l([]),l(l)];for(var i=2&t&&e;"object"==typeof i&&!~d.indexOf(i);i=l(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,c.d(n,a),n},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},f="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",c.l=(e,t,n,a)=>{if(u[e])u[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var d=o[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==f+n){i=d;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-webpack",f+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var l=function(e){return"sha256-"+(m[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);l&&(i.integrity=l)}u[e]=[t];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(_);var a=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},_=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),r&&document.head.appendChild(i)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p=e?e.src:"",c.p=p.slice(0,p.lastIndexOf("/")+1),c.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)c.m[n[a].m]||(e=>{t.push(_.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{c.m[e.m]=e=>e.exports=t}))})(n[a])};var _=c(414);(()=>{var e={884:0};c.f.j=(t,n)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=c.p+c.u(t),o=new Error;c.l(r,n=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,d=0;if(r.some(t=>0!==e[t])){for(a in o)c.o(o,a)&&(c.m[a]=o[a]);s&&s(c)}for(t&&t(n);d<r.length;d++)i=r[d],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h={};return(()=>{c.r(h),c.d(h,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=c(280),t=c(676),n=c(207),a=c(737);const i=JSON.parse('{"C":"graphClientInitializationError"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):c.e(265).then(c.t.bind(c,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),h})())})();
@@ -0,0 +1 @@
1
+ (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e](n,n.exports,c),n.exports}c.m=o;var d,l,u,f,p,m={"265":"9qKOy1sIKupigtmxWl5l1ZGCQqydXo+NHV6/kPefYgo=","308":"DNprezDuEsVqtej7uqGl216gKFblRPQax03W3E7/mL0="};l=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);c.r(n);var a={};d=d||[null,l({}),l([]),l(l)];for(var i=2&t&&e;"object"==typeof i&&!~d.indexOf(i);i=l(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,c.d(n,a),n},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},f="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",c.l=(e,t,n,a)=>{if(u[e])u[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var d=o[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==f+n){i=d;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-webpack",f+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var l=function(e){return"sha256-"+(m[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);l&&(i.integrity=l)}u[e]=[t];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(_);var a=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},_=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),r&&document.head.appendChild(i)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p=e?e.src:"",c.p=p.slice(0,p.lastIndexOf("/")+1),c.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)c.m[n[a].m]||(e=>{t.push(_.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{c.m[e.m]=e=>e.exports=t}))})(n[a])};var _=c(414);(()=>{var e={884:0};c.f.j=(t,n)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=c.p+c.u(t),o=new Error;c.l(r,n=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,d=0;if(r.some(t=>0!==e[t])){for(a in o)c.o(o,a)&&(c.m[a]=o[a]);s&&s(c)}for(t&&t(n);d<r.length;d++)i=r[d],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h={};return(()=>{c.r(h),c.d(h,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=c(280),t=c(676),n=c(207),a=c(737);const i=JSON.parse('{"C":"Sorry, we couldn\\u0027t make a connection to Microsoft Graph."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):c.e(265).then(c.t.bind(c,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),h})())})();
@@ -0,0 +1 @@
1
+ (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e](n,n.exports,c),n.exports}c.m=o;var d,l,u,f,p,m={"265":"9qKOy1sIKupigtmxWl5l1ZGCQqydXo+NHV6/kPefYgo=","308":"DNprezDuEsVqtej7uqGl216gKFblRPQax03W3E7/mL0="};l=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);c.r(n);var a={};d=d||[null,l({}),l([]),l(l)];for(var i=2&t&&e;"object"==typeof i&&!~d.indexOf(i);i=l(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,c.d(n,a),n},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},f="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",c.l=(e,t,n,a)=>{if(u[e])u[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var d=o[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==f+n){i=d;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-webpack",f+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var l=function(e){return"sha256-"+(m[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);l&&(i.integrity=l)}u[e]=[t];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(_);var a=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},_=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),r&&document.head.appendChild(i)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p=e?e.src:"",c.p=p.slice(0,p.lastIndexOf("/")+1),c.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)c.m[n[a].m]||(e=>{t.push(_.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{c.m[e.m]=e=>e.exports=t}))})(n[a])};var _=c(414);(()=>{var e={884:0};c.f.j=(t,n)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=c.p+c.u(t),o=new Error;c.l(r,n=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,d=0;if(r.some(t=>0!==e[t])){for(a in o)c.o(o,a)&&(c.m[a]=o[a]);s&&s(c)}for(t&&t(n);d<r.length;d++)i=r[d],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h={};return(()=>{c.r(h),c.d(h,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=c(280),t=c(676),n=c(207),a=c(737);const i=JSON.parse('{"C":"[!!--##Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ.##--!!]"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):c.e(265).then(c.t.bind(c,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),h})())})();
@@ -0,0 +1 @@
1
+ (()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o={676:e=>{e.exports=n},207:e=>{e.exports=a},737:e=>{e.exports=i},414:e=>{e.exports=r},280:e=>{e.exports=t}},s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return o[e](n,n.exports,c),n.exports}c.m=o;var d,l,u,f,p,m={"265":"9qKOy1sIKupigtmxWl5l1ZGCQqydXo+NHV6/kPefYgo=","308":"DNprezDuEsVqtej7uqGl216gKFblRPQax03W3E7/mL0="};l=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);c.r(n);var a={};d=d||[null,l({}),l([]),l(l)];for(var i=2&t&&e;"object"==typeof i&&!~d.indexOf(i);i=l(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,c.d(n,a),n},c.d=(e,t)=>{for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce((t,n)=>(c.f[n](e,t),t),[])),c.u=e=>"chunk."+{265:"sp-http-msgraphclient",308:"sp-http-msgraphclientv3"}[e]+"_none_"+{265:"254051770ee2c0d5d03f",308:"2c5499c1d9140b6b043a"}[e]+".js",c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u={},f="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0:",c.l=(e,t,n,a)=>{if(u[e])u[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var d=o[s];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==f+n){i=d;break}}if(!i){r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.setAttribute("data-webpack",f+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous");var l=function(e){return"sha256-"+(m[e]||"Missing+Integrity+Hash+For+Script+Aborting=")}(a);l&&(i.integrity=l)}u[e]=[t];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(_);var a=u[e];if(delete u[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},_=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),r&&document.head.appendChild(i)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p=e?e.src:"",c.p=p.slice(0,p.lastIndexOf("/")+1),c.f.compat=(e,t)=>{for(var n=function(e){return{308:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:888}]}[e]||[]}(e),a=0;a<n.length;a++)c.m[n[a].m]||(e=>{t.push(_.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{c.m[e.m]=e=>e.exports=t}))})(n[a])};var _=c(414);(()=>{var e={884:0};c.f.j=(t,n)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=c.p+c.u(t),o=new Error;c.l(r,n=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,d=0;if(r.some(t=>0!==e[t])){for(a in o)c.o(o,a)&&(c.m[a]=o[a]);s&&s(c)}for(t&&t(n);d<r.length;d++)i=r[d],c.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.22.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var h={};return(()=>{c.r(h),c.d(h,{MSGraphClient:()=>r,MSGraphClientFactory:()=>o});var e=c(280),t=c(676),n=c(207),a=c(737);const i=JSON.parse('{"C":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.C);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}(),o=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var o=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return o.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):c.e(265).then(c.t.bind(c,946,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return c.e(308).then(c.bind(c,979)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),h})())})();
@@ -0,0 +1,12 @@
1
+ import { type IAadTokenProvider, type IInternalAadTokenProvider } from '@microsoft/sp-http-base';
2
+ import type { AuthenticationProvider } from '@msinternal/ms-graph-v3-bundle';
3
+ export declare class MSGraphAuthenticationProvider implements AuthenticationProvider {
4
+ private readonly _tokenProvider;
5
+ private readonly _graphBaseUrl;
6
+ private readonly _isInternal;
7
+ constructor(tokenProvider: IAadTokenProvider | IInternalAadTokenProvider, graphBaseUrl: string, isInternal: boolean);
8
+ getAccessToken(): Promise<string>;
9
+ private _getOAuthToken;
10
+ private _getInternalToken;
11
+ }
12
+ //# sourceMappingURL=MSGraphAuthenticationProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MSGraphAuthenticationProvider.d.ts","sourceRoot":"","sources":["../src/MSGraphAuthenticationProvider.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAE/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,qBAAa,6BAA8B,YAAW,sBAAsB;IAC1E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgD;IAC/E,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IACvC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAU;gBAGpC,aAAa,EAAE,iBAAiB,GAAG,yBAAyB,EAC5D,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,OAAO;IAOd,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAYxC,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;CAa1B"}
@@ -0,0 +1,50 @@
1
+ import { _QosMonitor } from '@microsoft/sp-diagnostics';
2
+ import { _AadTokenProviders } from '@microsoft/sp-http-base';
3
+ var MSGraphAuthenticationProvider = /** @class */ (function () {
4
+ function MSGraphAuthenticationProvider(tokenProvider, graphBaseUrl, isInternal) {
5
+ this._tokenProvider = tokenProvider;
6
+ this._graphBaseUrl = graphBaseUrl;
7
+ this._isInternal = isInternal;
8
+ }
9
+ MSGraphAuthenticationProvider.prototype.getAccessToken = function () {
10
+ //
11
+ // theoretically, we could check if ('_getTokenInternal' in this._tokenProvider).
12
+ // But it could potentially lead to issues if someone adds this method to IAadTokenProvider interface.
13
+ //
14
+ if (this._isInternal) {
15
+ return this._getInternalToken(this._tokenProvider);
16
+ }
17
+ else {
18
+ return this._getOAuthToken(this._tokenProvider);
19
+ }
20
+ };
21
+ MSGraphAuthenticationProvider.prototype._getOAuthToken = function (tokenProvider) {
22
+ var qosMonitor = new _QosMonitor('MSGraphClient.FetchGraphToken');
23
+ return tokenProvider
24
+ .getToken(this._graphBaseUrl)
25
+ .then(function (response) {
26
+ qosMonitor.writeSuccess();
27
+ return response;
28
+ })
29
+ .catch(function (error) {
30
+ qosMonitor.writeUnexpectedFailure(error.message, error);
31
+ throw error;
32
+ });
33
+ };
34
+ MSGraphAuthenticationProvider.prototype._getInternalToken = function (tokenProvider) {
35
+ var qosMonitor = new _QosMonitor('MSGraphClient.FetchInternalGraphToken');
36
+ return tokenProvider
37
+ ._getTokenInternal(this._graphBaseUrl, _AadTokenProviders.preAuthorizedConfiguration)
38
+ .then(function (response) {
39
+ qosMonitor.writeSuccess();
40
+ return response;
41
+ })
42
+ .catch(function (error) {
43
+ qosMonitor.writeUnexpectedFailure(error.message, error);
44
+ throw error;
45
+ });
46
+ };
47
+ return MSGraphAuthenticationProvider;
48
+ }());
49
+ export { MSGraphAuthenticationProvider };
50
+ //# sourceMappingURL=MSGraphAuthenticationProvider.js.map