File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Deno.test(async function signSpaceId() {
155
155
Deno . test ( async function signDrmLicense ( ) {
156
156
assertObjectMatch ( await verify ( mux . jwt . signDrmLicense ( 'abcdefgh' ) ) , {
157
157
kid : jwtSigningKey ,
158
- aud : 'l ' ,
158
+ aud : 'd ' ,
159
159
sub : 'abcdefgh' ,
160
160
} ) ;
161
161
assertObjectMatch (
@@ -167,7 +167,7 @@ Deno.test(async function signDrmLicense() {
167
167
) ,
168
168
{
169
169
kid : jwtSigningKey ,
170
- aud : 'l ' ,
170
+ aud : 'd ' ,
171
171
sub : 'abcdefgh' ,
172
172
} ,
173
173
) ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export enum TypeClaim {
49
49
gif = 'g' ,
50
50
storyboard = 's' ,
51
51
stats = 'playback_id' ,
52
- drm_license = 'l ' ,
52
+ drm_license = 'd ' ,
53
53
}
54
54
55
55
export enum DataTypeClaim {
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ describe('resource jwt', () => {
211
211
test ( 'signDrmLicense' , async ( ) => {
212
212
expect ( decodeJwt ( await mux . jwt . signDrmLicense ( 'abcdefgh' ) ) ) . toMatchObject ( {
213
213
kid : jwtSigningKey ,
214
- aud : 'l ' ,
214
+ aud : 'd ' ,
215
215
sub : 'abcdefgh' ,
216
216
} ) ;
217
217
expect (
@@ -223,7 +223,7 @@ describe('resource jwt', () => {
223
223
) ,
224
224
) . toMatchObject ( {
225
225
kid : jwtSigningKey ,
226
- aud : 'l ' ,
226
+ aud : 'd ' ,
227
227
sub : 'abcdefgh' ,
228
228
} ) ;
229
229
expect (
@@ -235,7 +235,7 @@ describe('resource jwt', () => {
235
235
) ,
236
236
) . toMatchObject ( {
237
237
kid : jwtSigningKey ,
238
- aud : 'l ' ,
238
+ aud : 'd ' ,
239
239
sub : 'abcdefgh' ,
240
240
} ) ;
241
241
} ) ;
You can’t perform that action at this time.
0 commit comments