@authhero/saml 0.2.0 → 0.3.0

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/dist/saml.d.ts CHANGED
@@ -3205,145 +3205,125 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
3205
3205
  z.ZodObject<{
3206
3206
  "saml:AttributeStatement": z.ZodArray<z.ZodObject<{
3207
3207
  "saml:Attribute": z.ZodArray<z.ZodObject<{
3208
- ":@": z.ZodObject<{
3209
- "@_Name": z.ZodString;
3210
- "@_NameFormat": z.ZodString;
3211
- "@_FriendlyName": z.ZodOptional<z.ZodString>;
3212
- }, "strip", z.ZodTypeAny, {
3213
- "@_Name": string;
3214
- "@_NameFormat": string;
3215
- "@_FriendlyName"?: string | undefined;
3216
- }, {
3217
- "@_Name": string;
3218
- "@_NameFormat": string;
3219
- "@_FriendlyName"?: string | undefined;
3220
- }>;
3221
3208
  "saml:AttributeValue": z.ZodArray<z.ZodObject<{
3222
3209
  "#text": z.ZodString;
3223
- ":@": z.ZodOptional<z.ZodObject<{
3224
- "@_xmlns:xs": z.ZodOptional<z.ZodString>;
3225
- "@_xmlns:xsi": z.ZodString;
3226
- "@_xsi:type": z.ZodString;
3227
- }, "strip", z.ZodTypeAny, {
3228
- "@_xmlns:xsi": string;
3229
- "@_xsi:type": string;
3230
- "@_xmlns:xs"?: string | undefined;
3231
- }, {
3232
- "@_xmlns:xsi": string;
3233
- "@_xsi:type": string;
3234
- "@_xmlns:xs"?: string | undefined;
3235
- }>>;
3236
3210
  }, "strip", z.ZodTypeAny, {
3237
3211
  "#text": string;
3238
- ":@"?: {
3239
- "@_xmlns:xsi": string;
3240
- "@_xsi:type": string;
3241
- "@_xmlns:xs"?: string | undefined;
3242
- } | undefined;
3243
3212
  }, {
3244
3213
  "#text": string;
3245
- ":@"?: {
3246
- "@_xmlns:xsi": string;
3247
- "@_xsi:type": string;
3248
- "@_xmlns:xs"?: string | undefined;
3249
- } | undefined;
3250
3214
  }>, "many">;
3215
+ ":@": z.ZodOptional<z.ZodObject<{
3216
+ "@_xmlns:xs": z.ZodOptional<z.ZodString>;
3217
+ "@_xmlns:xsi": z.ZodString;
3218
+ "@_xsi:type": z.ZodString;
3219
+ }, "strip", z.ZodTypeAny, {
3220
+ "@_xmlns:xsi": string;
3221
+ "@_xsi:type": string;
3222
+ "@_xmlns:xs"?: string | undefined;
3223
+ }, {
3224
+ "@_xmlns:xsi": string;
3225
+ "@_xsi:type": string;
3226
+ "@_xmlns:xs"?: string | undefined;
3227
+ }>>;
3251
3228
  }, "strip", z.ZodTypeAny, {
3252
- ":@": {
3253
- "@_Name": string;
3254
- "@_NameFormat": string;
3255
- "@_FriendlyName"?: string | undefined;
3256
- };
3257
3229
  "saml:AttributeValue": {
3258
3230
  "#text": string;
3259
- ":@"?: {
3260
- "@_xmlns:xsi": string;
3261
- "@_xsi:type": string;
3262
- "@_xmlns:xs"?: string | undefined;
3263
- } | undefined;
3264
3231
  }[];
3232
+ ":@"?: {
3233
+ "@_xmlns:xsi": string;
3234
+ "@_xsi:type": string;
3235
+ "@_xmlns:xs"?: string | undefined;
3236
+ } | undefined;
3265
3237
  }, {
3266
- ":@": {
3267
- "@_Name": string;
3268
- "@_NameFormat": string;
3269
- "@_FriendlyName"?: string | undefined;
3270
- };
3271
3238
  "saml:AttributeValue": {
3272
3239
  "#text": string;
3273
- ":@"?: {
3274
- "@_xmlns:xsi": string;
3275
- "@_xsi:type": string;
3276
- "@_xmlns:xs"?: string | undefined;
3277
- } | undefined;
3278
3240
  }[];
3241
+ ":@"?: {
3242
+ "@_xmlns:xsi": string;
3243
+ "@_xsi:type": string;
3244
+ "@_xmlns:xs"?: string | undefined;
3245
+ } | undefined;
3279
3246
  }>, "many">;
3247
+ ":@": z.ZodObject<{
3248
+ "@_Name": z.ZodString;
3249
+ "@_NameFormat": z.ZodString;
3250
+ "@_FriendlyName": z.ZodOptional<z.ZodString>;
3251
+ }, "strip", z.ZodTypeAny, {
3252
+ "@_Name": string;
3253
+ "@_NameFormat": string;
3254
+ "@_FriendlyName"?: string | undefined;
3255
+ }, {
3256
+ "@_Name": string;
3257
+ "@_NameFormat": string;
3258
+ "@_FriendlyName"?: string | undefined;
3259
+ }>;
3280
3260
  }, "strip", z.ZodTypeAny, {
3261
+ ":@": {
3262
+ "@_Name": string;
3263
+ "@_NameFormat": string;
3264
+ "@_FriendlyName"?: string | undefined;
3265
+ };
3281
3266
  "saml:Attribute": {
3282
- ":@": {
3283
- "@_Name": string;
3284
- "@_NameFormat": string;
3285
- "@_FriendlyName"?: string | undefined;
3286
- };
3287
3267
  "saml:AttributeValue": {
3288
3268
  "#text": string;
3289
- ":@"?: {
3290
- "@_xmlns:xsi": string;
3291
- "@_xsi:type": string;
3292
- "@_xmlns:xs"?: string | undefined;
3293
- } | undefined;
3294
3269
  }[];
3270
+ ":@"?: {
3271
+ "@_xmlns:xsi": string;
3272
+ "@_xsi:type": string;
3273
+ "@_xmlns:xs"?: string | undefined;
3274
+ } | undefined;
3295
3275
  }[];
3296
3276
  }, {
3277
+ ":@": {
3278
+ "@_Name": string;
3279
+ "@_NameFormat": string;
3280
+ "@_FriendlyName"?: string | undefined;
3281
+ };
3297
3282
  "saml:Attribute": {
3298
- ":@": {
3299
- "@_Name": string;
3300
- "@_NameFormat": string;
3301
- "@_FriendlyName"?: string | undefined;
3302
- };
3303
3283
  "saml:AttributeValue": {
3304
3284
  "#text": string;
3305
- ":@"?: {
3306
- "@_xmlns:xsi": string;
3307
- "@_xsi:type": string;
3308
- "@_xmlns:xs"?: string | undefined;
3309
- } | undefined;
3310
3285
  }[];
3286
+ ":@"?: {
3287
+ "@_xmlns:xsi": string;
3288
+ "@_xsi:type": string;
3289
+ "@_xmlns:xs"?: string | undefined;
3290
+ } | undefined;
3311
3291
  }[];
3312
3292
  }>, "many">;
3313
3293
  }, "strip", z.ZodTypeAny, {
3314
3294
  "saml:AttributeStatement": {
3295
+ ":@": {
3296
+ "@_Name": string;
3297
+ "@_NameFormat": string;
3298
+ "@_FriendlyName"?: string | undefined;
3299
+ };
3315
3300
  "saml:Attribute": {
3316
- ":@": {
3317
- "@_Name": string;
3318
- "@_NameFormat": string;
3319
- "@_FriendlyName"?: string | undefined;
3320
- };
3321
3301
  "saml:AttributeValue": {
3322
3302
  "#text": string;
3323
- ":@"?: {
3324
- "@_xmlns:xsi": string;
3325
- "@_xsi:type": string;
3326
- "@_xmlns:xs"?: string | undefined;
3327
- } | undefined;
3328
3303
  }[];
3304
+ ":@"?: {
3305
+ "@_xmlns:xsi": string;
3306
+ "@_xsi:type": string;
3307
+ "@_xmlns:xs"?: string | undefined;
3308
+ } | undefined;
3329
3309
  }[];
3330
3310
  }[];
3331
3311
  }, {
3332
3312
  "saml:AttributeStatement": {
3313
+ ":@": {
3314
+ "@_Name": string;
3315
+ "@_NameFormat": string;
3316
+ "@_FriendlyName"?: string | undefined;
3317
+ };
3333
3318
  "saml:Attribute": {
3334
- ":@": {
3335
- "@_Name": string;
3336
- "@_NameFormat": string;
3337
- "@_FriendlyName"?: string | undefined;
3338
- };
3339
3319
  "saml:AttributeValue": {
3340
3320
  "#text": string;
3341
- ":@"?: {
3342
- "@_xmlns:xsi": string;
3343
- "@_xsi:type": string;
3344
- "@_xmlns:xs"?: string | undefined;
3345
- } | undefined;
3346
3321
  }[];
3322
+ ":@"?: {
3323
+ "@_xmlns:xsi": string;
3324
+ "@_xsi:type": string;
3325
+ "@_xmlns:xs"?: string | undefined;
3326
+ } | undefined;
3347
3327
  }[];
3348
3328
  }[];
3349
3329
  }>
@@ -3505,20 +3485,20 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
3505
3485
  }[];
3506
3486
  } | {
3507
3487
  "saml:AttributeStatement": {
3488
+ ":@": {
3489
+ "@_Name": string;
3490
+ "@_NameFormat": string;
3491
+ "@_FriendlyName"?: string | undefined;
3492
+ };
3508
3493
  "saml:Attribute": {
3509
- ":@": {
3510
- "@_Name": string;
3511
- "@_NameFormat": string;
3512
- "@_FriendlyName"?: string | undefined;
3513
- };
3514
3494
  "saml:AttributeValue": {
3515
3495
  "#text": string;
3516
- ":@"?: {
3517
- "@_xmlns:xsi": string;
3518
- "@_xsi:type": string;
3519
- "@_xmlns:xs"?: string | undefined;
3520
- } | undefined;
3521
3496
  }[];
3497
+ ":@"?: {
3498
+ "@_xmlns:xsi": string;
3499
+ "@_xsi:type": string;
3500
+ "@_xmlns:xs"?: string | undefined;
3501
+ } | undefined;
3522
3502
  }[];
3523
3503
  }[];
3524
3504
  })[];
@@ -3663,20 +3643,20 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
3663
3643
  }[];
3664
3644
  } | {
3665
3645
  "saml:AttributeStatement": {
3646
+ ":@": {
3647
+ "@_Name": string;
3648
+ "@_NameFormat": string;
3649
+ "@_FriendlyName"?: string | undefined;
3650
+ };
3666
3651
  "saml:Attribute": {
3667
- ":@": {
3668
- "@_Name": string;
3669
- "@_NameFormat": string;
3670
- "@_FriendlyName"?: string | undefined;
3671
- };
3672
3652
  "saml:AttributeValue": {
3673
3653
  "#text": string;
3674
- ":@"?: {
3675
- "@_xmlns:xsi": string;
3676
- "@_xsi:type": string;
3677
- "@_xmlns:xs"?: string | undefined;
3678
- } | undefined;
3679
3654
  }[];
3655
+ ":@"?: {
3656
+ "@_xmlns:xsi": string;
3657
+ "@_xsi:type": string;
3658
+ "@_xmlns:xs"?: string | undefined;
3659
+ } | undefined;
3680
3660
  }[];
3681
3661
  }[];
3682
3662
  })[];
@@ -3953,20 +3933,20 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
3953
3933
  }[];
3954
3934
  } | {
3955
3935
  "saml:AttributeStatement": {
3936
+ ":@": {
3937
+ "@_Name": string;
3938
+ "@_NameFormat": string;
3939
+ "@_FriendlyName"?: string | undefined;
3940
+ };
3956
3941
  "saml:Attribute": {
3957
- ":@": {
3958
- "@_Name": string;
3959
- "@_NameFormat": string;
3960
- "@_FriendlyName"?: string | undefined;
3961
- };
3962
3942
  "saml:AttributeValue": {
3963
3943
  "#text": string;
3964
- ":@"?: {
3965
- "@_xmlns:xsi": string;
3966
- "@_xsi:type": string;
3967
- "@_xmlns:xs"?: string | undefined;
3968
- } | undefined;
3969
3944
  }[];
3945
+ ":@"?: {
3946
+ "@_xmlns:xsi": string;
3947
+ "@_xsi:type": string;
3948
+ "@_xmlns:xs"?: string | undefined;
3949
+ } | undefined;
3970
3950
  }[];
3971
3951
  }[];
3972
3952
  })[];
@@ -4217,20 +4197,20 @@ export declare const samlResponseJsonSchema: z.ZodArray<z.ZodObject<{
4217
4197
  }[];
4218
4198
  } | {
4219
4199
  "saml:AttributeStatement": {
4200
+ ":@": {
4201
+ "@_Name": string;
4202
+ "@_NameFormat": string;
4203
+ "@_FriendlyName"?: string | undefined;
4204
+ };
4220
4205
  "saml:Attribute": {
4221
- ":@": {
4222
- "@_Name": string;
4223
- "@_NameFormat": string;
4224
- "@_FriendlyName"?: string | undefined;
4225
- };
4226
4206
  "saml:AttributeValue": {
4227
4207
  "#text": string;
4228
- ":@"?: {
4229
- "@_xmlns:xsi": string;
4230
- "@_xsi:type": string;
4231
- "@_xmlns:xs"?: string | undefined;
4232
- } | undefined;
4233
4208
  }[];
4209
+ ":@"?: {
4210
+ "@_xmlns:xsi": string;
4211
+ "@_xsi:type": string;
4212
+ "@_xmlns:xs"?: string | undefined;
4213
+ } | undefined;
4234
4214
  }[];
4235
4215
  }[];
4236
4216
  })[];
package/dist/saml.mjs CHANGED
@@ -84,21 +84,25 @@ const b = s.object({ "#text": s.string() }), z = s.object({
84
84
  )
85
85
  })
86
86
  ), ee = s.object({
87
- ":@": s.object({
88
- "@_Name": s.string(),
89
- "@_NameFormat": s.string(),
90
- "@_FriendlyName": s.string().optional()
91
- }),
92
- "saml:AttributeValue": s.array(
87
+ "saml:Attribute": s.array(
93
88
  s.object({
94
- "#text": s.string(),
89
+ "saml:AttributeValue": s.array(
90
+ s.object({
91
+ "#text": s.string()
92
+ })
93
+ ),
95
94
  ":@": s.object({
96
95
  "@_xmlns:xs": s.string().optional(),
97
96
  "@_xmlns:xsi": s.string(),
98
97
  "@_xsi:type": s.string()
99
98
  }).optional()
100
99
  })
101
- )
100
+ ),
101
+ ":@": s.object({
102
+ "@_Name": s.string(),
103
+ "@_NameFormat": s.string(),
104
+ "@_FriendlyName": s.string().optional()
105
+ })
102
106
  }), te = s.object({
103
107
  "ds:Transform": s.array(s.any()),
104
108
  ":@": s.object({
@@ -296,11 +300,7 @@ const b = s.object({ "#text": s.string() }), z = s.object({
296
300
  })
297
301
  }),
298
302
  s.object({
299
- "saml:AttributeStatement": s.array(
300
- s.object({
301
- "saml:Attribute": s.array(ee)
302
- })
303
- )
303
+ "saml:AttributeStatement": s.array(ee)
304
304
  })
305
305
  ])
306
306
  ),
@@ -1674,163 +1674,163 @@ async function vt(e, t) {
1674
1674
  {
1675
1675
  "saml:Attribute": [
1676
1676
  {
1677
- ":@": {
1678
- "@_FriendlyName": "persistent",
1679
- "@_Name": "id",
1680
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
1681
- },
1682
1677
  "saml:AttributeValue": [
1683
1678
  {
1684
- "#text": e.userId,
1685
- ":@": {
1686
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1687
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1688
- "@_xsi:type": "xs:string"
1689
- }
1679
+ "#text": e.userId
1690
1680
  }
1691
- ]
1681
+ ],
1682
+ ":@": {
1683
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1684
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1685
+ "@_xsi:type": "xs:string"
1686
+ }
1692
1687
  }
1693
- ]
1688
+ ],
1689
+ ":@": {
1690
+ "@_FriendlyName": "persistent",
1691
+ "@_Name": "id",
1692
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
1693
+ }
1694
1694
  },
1695
1695
  {
1696
1696
  "saml:Attribute": [
1697
1697
  {
1698
- ":@": {
1699
- "@_Name": "email",
1700
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1701
- },
1702
1698
  "saml:AttributeValue": [
1703
1699
  {
1704
- "#text": e.email,
1705
- ":@": {
1706
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1707
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1708
- "@_xsi:type": "xs:string"
1709
- }
1700
+ "#text": e.email
1710
1701
  }
1711
- ]
1702
+ ],
1703
+ ":@": {
1704
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1705
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1706
+ "@_xsi:type": "xs:string"
1707
+ }
1712
1708
  }
1713
- ]
1709
+ ],
1710
+ ":@": {
1711
+ "@_Name": "email",
1712
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1713
+ }
1714
1714
  },
1715
1715
  {
1716
1716
  "saml:Attribute": [
1717
1717
  {
1718
- ":@": {
1719
- "@_Name": "Role",
1720
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1721
- },
1722
1718
  "saml:AttributeValue": [
1723
1719
  {
1724
- "#text": "manage-account",
1725
- ":@": {
1726
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1727
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1728
- "@_xsi:type": "xs:string"
1729
- }
1720
+ "#text": "manage-account"
1730
1721
  }
1731
- ]
1722
+ ],
1723
+ ":@": {
1724
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1725
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1726
+ "@_xsi:type": "xs:string"
1727
+ }
1732
1728
  }
1733
- ]
1729
+ ],
1730
+ ":@": {
1731
+ "@_Name": "Role",
1732
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1733
+ }
1734
1734
  },
1735
1735
  {
1736
1736
  "saml:Attribute": [
1737
1737
  {
1738
- ":@": {
1739
- "@_Name": "Role",
1740
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1741
- },
1742
1738
  "saml:AttributeValue": [
1743
1739
  {
1744
- "#text": "default-roles-master",
1745
- ":@": {
1746
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1747
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1748
- "@_xsi:type": "xs:string"
1749
- }
1740
+ "#text": "default-roles-master"
1750
1741
  }
1751
- ]
1742
+ ],
1743
+ ":@": {
1744
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1745
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1746
+ "@_xsi:type": "xs:string"
1747
+ }
1752
1748
  }
1753
- ]
1749
+ ],
1750
+ ":@": {
1751
+ "@_Name": "Role",
1752
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1753
+ }
1754
1754
  },
1755
1755
  {
1756
1756
  "saml:Attribute": [
1757
1757
  {
1758
- ":@": {
1759
- "@_Name": "Role",
1760
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1761
- },
1762
1758
  "saml:AttributeValue": [
1763
1759
  {
1764
- "#text": "offline_access",
1765
- ":@": {
1766
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1767
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1768
- "@_xsi:type": "xs:string"
1769
- }
1760
+ "#text": "offline_access"
1770
1761
  }
1771
- ]
1762
+ ],
1763
+ ":@": {
1764
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1765
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1766
+ "@_xsi:type": "xs:string"
1767
+ }
1772
1768
  }
1773
- ]
1769
+ ],
1770
+ ":@": {
1771
+ "@_Name": "Role",
1772
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1773
+ }
1774
1774
  },
1775
1775
  {
1776
1776
  "saml:Attribute": [
1777
1777
  {
1778
- ":@": {
1779
- "@_Name": "Role",
1780
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1781
- },
1782
1778
  "saml:AttributeValue": [
1783
1779
  {
1784
- "#text": "view-profile",
1785
- ":@": {
1786
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1787
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1788
- "@_xsi:type": "xs:string"
1789
- }
1780
+ "#text": "view-profile"
1790
1781
  }
1791
- ]
1782
+ ],
1783
+ ":@": {
1784
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1785
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1786
+ "@_xsi:type": "xs:string"
1787
+ }
1792
1788
  }
1793
- ]
1789
+ ],
1790
+ ":@": {
1791
+ "@_Name": "Role",
1792
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1793
+ }
1794
1794
  },
1795
1795
  {
1796
1796
  "saml:Attribute": [
1797
1797
  {
1798
- ":@": {
1799
- "@_Name": "Role",
1800
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1801
- },
1802
1798
  "saml:AttributeValue": [
1803
1799
  {
1804
- "#text": "uma_authorization",
1805
- ":@": {
1806
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1807
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1808
- "@_xsi:type": "xs:string"
1809
- }
1800
+ "#text": "uma_authorization"
1810
1801
  }
1811
- ]
1802
+ ],
1803
+ ":@": {
1804
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1805
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1806
+ "@_xsi:type": "xs:string"
1807
+ }
1812
1808
  }
1813
- ]
1809
+ ],
1810
+ ":@": {
1811
+ "@_Name": "Role",
1812
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1813
+ }
1814
1814
  },
1815
1815
  {
1816
1816
  "saml:Attribute": [
1817
1817
  {
1818
- ":@": {
1819
- "@_Name": "Role",
1820
- "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1821
- },
1822
1818
  "saml:AttributeValue": [
1823
1819
  {
1824
- "#text": "manage-account-links",
1825
- ":@": {
1826
- "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1827
- "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1828
- "@_xsi:type": "xs:string"
1829
- }
1820
+ "#text": "manage-account-links"
1830
1821
  }
1831
- ]
1822
+ ],
1823
+ ":@": {
1824
+ "@_xmlns:xs": "http://www.w3.org/2001/XMLSchema",
1825
+ "@_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
1826
+ "@_xsi:type": "xs:string"
1827
+ }
1832
1828
  }
1833
- ]
1829
+ ],
1830
+ ":@": {
1831
+ "@_Name": "Role",
1832
+ "@_NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
1833
+ }
1834
1834
  }
1835
1835
  ]
1836
1836
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.2.0",
14
+ "version": "0.3.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],