@tsonic/dotnet 10.0.2 → 10.0.4
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/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
- package/Microsoft.Win32/internal/index.d.ts +0 -1
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
- package/System/internal/index.d.ts +87 -200
- package/System.Buffers/internal/index.d.ts +10 -23
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
- package/System.Collections/internal/index.d.ts +41 -57
- package/System.Collections.Concurrent/internal/index.d.ts +4 -10
- package/System.Collections.Generic/internal/index.d.ts +15 -37
- package/System.Collections.Immutable/internal/index.d.ts +7 -20
- package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
- package/System.Collections.Specialized/internal/index.d.ts +15 -30
- package/System.ComponentModel/internal/index.d.ts +126 -216
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
- package/System.ComponentModel.Design/internal/index.d.ts +26 -53
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
- package/System.Data/internal/index.d.ts +110 -188
- package/System.Data.Common/internal/index.d.ts +155 -238
- package/System.Data.SqlTypes/internal/index.d.ts +6 -7
- package/System.Diagnostics/internal/index.d.ts +105 -169
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
- package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
- package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
- package/System.Dynamic/internal/index.d.ts +15 -29
- package/System.Formats.Asn1/internal/index.d.ts +0 -1
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +17 -51
- package/System.IO/internal/index.d.ts +47 -123
- package/System.IO.Compression/internal/index.d.ts +11 -33
- package/System.IO.Enumeration/internal/index.d.ts +11 -16
- package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
- package/System.IO.Pipelines/internal/index.d.ts +7 -18
- package/System.IO.Pipes/internal/index.d.ts +24 -50
- package/System.Linq/internal/index.d.ts +0 -4
- package/System.Linq.Expressions/internal/index.d.ts +108 -257
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
- package/System.Net/internal/index.d.ts +133 -184
- package/System.Net.Http/internal/index.d.ts +128 -201
- package/System.Net.Http.Headers/internal/index.d.ts +37 -40
- package/System.Net.Http.Json/internal/index.d.ts +8 -13
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
- package/System.Net.Mail/internal/index.d.ts +49 -105
- package/System.Net.Mime/internal/index.d.ts +4 -3
- package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
- package/System.Net.Quic/internal/index.d.ts +5 -11
- package/System.Net.Security/internal/index.d.ts +30 -42
- package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
- package/System.Net.Sockets/internal/index.d.ts +33 -56
- package/System.Net.WebSockets/internal/index.d.ts +16 -23
- package/System.Numerics/internal/index.d.ts +5 -5
- package/System.Reflection/internal/index.d.ts +66 -102
- package/System.Reflection.Emit/internal/index.d.ts +104 -177
- package/System.Reflection.Metadata/internal/index.d.ts +11 -21
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
- package/System.Resources/internal/index.d.ts +8 -20
- package/System.Runtime/internal/index.d.ts +5 -8
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
- package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
- package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
- package/System.Runtime.Loader/internal/index.d.ts +5 -11
- package/System.Runtime.Serialization/internal/index.d.ts +62 -65
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
- package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
- package/System.Runtime.Versioning/internal/index.d.ts +6 -6
- package/System.Security/internal/index.d.ts +22 -25
- package/System.Security.AccessControl/internal/index.d.ts +51 -89
- package/System.Security.Authentication/internal/index.d.ts +0 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
- package/System.Security.Claims/internal/index.d.ts +19 -38
- package/System.Security.Cryptography/internal/index.d.ts +492 -903
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
- package/System.Security.Permissions/internal/index.d.ts +2 -4
- package/System.Security.Policy/internal/index.d.ts +3 -4
- package/System.Security.Principal/internal/index.d.ts +11 -17
- package/System.Text/internal/index.d.ts +11 -23
- package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
- package/System.Text.Json/internal/index.d.ts +10 -12
- package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
- package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
- package/System.Threading/internal/index.d.ts +36 -106
- package/System.Threading.Channels/internal/index.d.ts +7 -12
- package/System.Threading.Tasks/internal/index.d.ts +18 -29
- package/System.Timers/internal/index.d.ts +4 -8
- package/System.Transactions/internal/index.d.ts +3 -14
- package/System.Xml/internal/index.d.ts +104 -167
- package/System.Xml.Linq/internal/index.d.ts +17 -13
- package/System.Xml.Schema/internal/index.d.ts +117 -112
- package/System.Xml.Serialization/internal/index.d.ts +92 -100
- package/System.Xml.XPath/internal/index.d.ts +5 -9
- package/System.Xml.Xsl/internal/index.d.ts +4 -9
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
- package/package.json +1 -1
|
@@ -258,8 +258,7 @@ export interface AccessRule$instance extends AuthorizationRule {
|
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
|
|
261
|
-
export const AccessRule: {
|
|
262
|
-
new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule;
|
|
261
|
+
export const AccessRule: (abstract new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType) => AccessRule) & {
|
|
263
262
|
};
|
|
264
263
|
|
|
265
264
|
|
|
@@ -288,7 +287,6 @@ export interface AceEnumerator$instance {
|
|
|
288
287
|
|
|
289
288
|
|
|
290
289
|
export const AceEnumerator: {
|
|
291
|
-
new(): AceEnumerator;
|
|
292
290
|
};
|
|
293
291
|
|
|
294
292
|
|
|
@@ -304,8 +302,7 @@ export interface AuditRule$instance extends AuthorizationRule {
|
|
|
304
302
|
}
|
|
305
303
|
|
|
306
304
|
|
|
307
|
-
export const AuditRule: {
|
|
308
|
-
new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, auditFlags: AuditFlags): AuditRule;
|
|
305
|
+
export const AuditRule: (abstract new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, auditFlags: AuditFlags) => AuditRule) & {
|
|
309
306
|
};
|
|
310
307
|
|
|
311
308
|
|
|
@@ -334,15 +331,14 @@ export interface AuthorizationRule$instance {
|
|
|
334
331
|
}
|
|
335
332
|
|
|
336
333
|
|
|
337
|
-
export const AuthorizationRule: {
|
|
338
|
-
new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags): AuthorizationRule;
|
|
334
|
+
export const AuthorizationRule: (abstract new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags) => AuthorizationRule) & {
|
|
339
335
|
};
|
|
340
336
|
|
|
341
337
|
|
|
342
338
|
export type AuthorizationRule = AuthorizationRule$instance;
|
|
343
339
|
|
|
344
340
|
export interface AuthorizationRuleCollection$instance extends ReadOnlyCollectionBase {
|
|
345
|
-
readonly
|
|
341
|
+
readonly [index: number]: AuthorizationRule | undefined;
|
|
346
342
|
AddRule(rule: AuthorizationRule): void;
|
|
347
343
|
CopyTo(array: ClrArray, index: int): void;
|
|
348
344
|
GetEnumerator(): IEnumerator;
|
|
@@ -384,7 +380,7 @@ export interface CommonAcl$instance extends GenericAcl$instance {
|
|
|
384
380
|
readonly IsCanonical: boolean;
|
|
385
381
|
readonly IsContainer: boolean;
|
|
386
382
|
readonly IsDS: boolean;
|
|
387
|
-
|
|
383
|
+
[index: number]: GenericAce;
|
|
388
384
|
readonly Revision: byte;
|
|
389
385
|
CopyTo(array: GenericAce[], index: int): void;
|
|
390
386
|
CopyTo(array: ClrArray, index: int): void;
|
|
@@ -408,20 +404,15 @@ export interface __CommonAcl$views {
|
|
|
408
404
|
export type CommonAcl = CommonAcl$instance & __CommonAcl$views;
|
|
409
405
|
|
|
410
406
|
|
|
411
|
-
export
|
|
412
|
-
protected ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
413
|
-
protected ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
export interface CommonObjectSecurity$instance extends CommonObjectSecurity$protected, ObjectSecurity {
|
|
407
|
+
export interface CommonObjectSecurity$instance extends ObjectSecurity {
|
|
418
408
|
GetAccessRules(includeExplicit: boolean, includeInherited: boolean, targetType: Type): AuthorizationRuleCollection;
|
|
419
409
|
GetAuditRules(includeExplicit: boolean, includeInherited: boolean, targetType: Type): AuthorizationRuleCollection;
|
|
410
|
+
ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
411
|
+
ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
420
412
|
}
|
|
421
413
|
|
|
422
414
|
|
|
423
|
-
export const CommonObjectSecurity: {
|
|
424
|
-
new(isContainer: boolean): CommonObjectSecurity;
|
|
415
|
+
export const CommonObjectSecurity: (abstract new(isContainer: boolean) => CommonObjectSecurity) & {
|
|
425
416
|
};
|
|
426
417
|
|
|
427
418
|
|
|
@@ -430,15 +421,17 @@ export type CommonObjectSecurity = CommonObjectSecurity$instance;
|
|
|
430
421
|
export interface CommonSecurityDescriptor$instance extends GenericSecurityDescriptor {
|
|
431
422
|
readonly ControlFlags: ControlFlags;
|
|
432
423
|
get DiscretionaryAcl(): DiscretionaryAcl | undefined;
|
|
433
|
-
set DiscretionaryAcl(value: DiscretionaryAcl);
|
|
434
|
-
Group: SecurityIdentifier;
|
|
424
|
+
set DiscretionaryAcl(value: DiscretionaryAcl | undefined);
|
|
425
|
+
get Group(): SecurityIdentifier | undefined;
|
|
426
|
+
set Group(value: SecurityIdentifier | undefined);
|
|
435
427
|
readonly IsContainer: boolean;
|
|
436
428
|
readonly IsDiscretionaryAclCanonical: boolean;
|
|
437
429
|
readonly IsDS: boolean;
|
|
438
430
|
readonly IsSystemAclCanonical: boolean;
|
|
439
|
-
Owner: SecurityIdentifier;
|
|
431
|
+
get Owner(): SecurityIdentifier | undefined;
|
|
432
|
+
set Owner(value: SecurityIdentifier | undefined);
|
|
440
433
|
get SystemAcl(): SystemAcl | undefined;
|
|
441
|
-
set SystemAcl(value: SystemAcl);
|
|
434
|
+
set SystemAcl(value: SystemAcl | undefined);
|
|
442
435
|
AddDiscretionaryAcl(revision: byte, trusted: int): void;
|
|
443
436
|
AddSystemAcl(revision: byte, trusted: int): void;
|
|
444
437
|
PurgeAccessControl(sid: SecurityIdentifier): void;
|
|
@@ -489,25 +482,19 @@ export const CustomAce: {
|
|
|
489
482
|
|
|
490
483
|
export type CustomAce = CustomAce$instance;
|
|
491
484
|
|
|
492
|
-
export
|
|
493
|
-
protected ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
494
|
-
protected ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
export interface DirectoryObjectSecurity$instance extends DirectoryObjectSecurity$protected, ObjectSecurity {
|
|
485
|
+
export interface DirectoryObjectSecurity$instance extends ObjectSecurity {
|
|
499
486
|
AccessRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType, objectType: Guid, inheritedObjectType: Guid): AccessRule;
|
|
500
487
|
AccessRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, type: AccessControlType): AccessRule;
|
|
501
488
|
AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags, objectType: Guid, inheritedObjectType: Guid): AuditRule;
|
|
502
489
|
AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
|
|
503
490
|
GetAccessRules(includeExplicit: boolean, includeInherited: boolean, targetType: Type): AuthorizationRuleCollection;
|
|
504
491
|
GetAuditRules(includeExplicit: boolean, includeInherited: boolean, targetType: Type): AuthorizationRuleCollection;
|
|
492
|
+
ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
493
|
+
ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
505
494
|
}
|
|
506
495
|
|
|
507
496
|
|
|
508
|
-
export const DirectoryObjectSecurity: {
|
|
509
|
-
new(): DirectoryObjectSecurity;
|
|
510
|
-
new(securityDescriptor: CommonSecurityDescriptor): DirectoryObjectSecurity;
|
|
497
|
+
export const DirectoryObjectSecurity: (abstract new() => DirectoryObjectSecurity) & (abstract new(securityDescriptor: CommonSecurityDescriptor) => DirectoryObjectSecurity) & {
|
|
511
498
|
};
|
|
512
499
|
|
|
513
500
|
|
|
@@ -706,7 +693,7 @@ export interface GenericAcl$instance {
|
|
|
706
693
|
readonly BinaryLength: int;
|
|
707
694
|
readonly Count: int;
|
|
708
695
|
readonly IsSynchronized: boolean;
|
|
709
|
-
|
|
696
|
+
[index: number]: GenericAce;
|
|
710
697
|
readonly Revision: byte;
|
|
711
698
|
readonly SyncRoot: unknown;
|
|
712
699
|
CopyTo(array: GenericAce[], index: int): void;
|
|
@@ -715,8 +702,7 @@ export interface GenericAcl$instance {
|
|
|
715
702
|
}
|
|
716
703
|
|
|
717
704
|
|
|
718
|
-
export const GenericAcl: {
|
|
719
|
-
new(): GenericAcl;
|
|
705
|
+
export const GenericAcl: (abstract new() => GenericAcl) & {
|
|
720
706
|
readonly AclRevision: byte;
|
|
721
707
|
readonly AclRevisionDS: byte;
|
|
722
708
|
readonly MaxBinaryLength: int;
|
|
@@ -734,8 +720,10 @@ export type GenericAcl = GenericAcl$instance & __GenericAcl$views;
|
|
|
734
720
|
export interface GenericSecurityDescriptor$instance {
|
|
735
721
|
readonly BinaryLength: int;
|
|
736
722
|
readonly ControlFlags: ControlFlags;
|
|
737
|
-
Group: SecurityIdentifier;
|
|
738
|
-
|
|
723
|
+
get Group(): SecurityIdentifier | undefined;
|
|
724
|
+
set Group(value: SecurityIdentifier | undefined);
|
|
725
|
+
get Owner(): SecurityIdentifier | undefined;
|
|
726
|
+
set Owner(value: SecurityIdentifier | undefined);
|
|
739
727
|
GetBinaryForm(binaryForm: byte[], offset: int): void;
|
|
740
728
|
GetSddlForm(includeSections: AccessControlSections): string;
|
|
741
729
|
}
|
|
@@ -814,24 +802,14 @@ export const MutexSecurity: {
|
|
|
814
802
|
|
|
815
803
|
export type MutexSecurity = MutexSecurity$instance;
|
|
816
804
|
|
|
817
|
-
export
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
805
|
+
export interface NativeObjectSecurity$instance extends CommonObjectSecurity {
|
|
806
|
+
Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
807
|
+
Persist(name: string, includeSections: AccessControlSections): void;
|
|
808
|
+
Persist(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
821
809
|
}
|
|
822
810
|
|
|
823
811
|
|
|
824
|
-
export
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
export const NativeObjectSecurity: {
|
|
829
|
-
new(isContainer: boolean, resourceType: ResourceType): NativeObjectSecurity;
|
|
830
|
-
new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections): NativeObjectSecurity;
|
|
831
|
-
new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode, exceptionContext: unknown): NativeObjectSecurity;
|
|
832
|
-
new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode, exceptionContext: unknown): NativeObjectSecurity;
|
|
833
|
-
new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections): NativeObjectSecurity;
|
|
834
|
-
new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode, exceptionContext: unknown): NativeObjectSecurity;
|
|
812
|
+
export const NativeObjectSecurity: (abstract new(isContainer: boolean, resourceType: ResourceType) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, handle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => NativeObjectSecurity) & (abstract new(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => NativeObjectSecurity) & {
|
|
835
813
|
};
|
|
836
814
|
|
|
837
815
|
|
|
@@ -844,8 +822,7 @@ export interface ObjectAccessRule$instance extends AccessRule {
|
|
|
844
822
|
}
|
|
845
823
|
|
|
846
824
|
|
|
847
|
-
export const ObjectAccessRule: {
|
|
848
|
-
new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, objectType: Guid, inheritedObjectType: Guid, type: AccessControlType): ObjectAccessRule;
|
|
825
|
+
export const ObjectAccessRule: (abstract new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, objectType: Guid, inheritedObjectType: Guid, type: AccessControlType) => ObjectAccessRule) & {
|
|
849
826
|
};
|
|
850
827
|
|
|
851
828
|
|
|
@@ -875,23 +852,13 @@ export interface ObjectAuditRule$instance extends AuditRule {
|
|
|
875
852
|
}
|
|
876
853
|
|
|
877
854
|
|
|
878
|
-
export const ObjectAuditRule: {
|
|
879
|
-
new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, objectType: Guid, inheritedObjectType: Guid, auditFlags: AuditFlags): ObjectAuditRule;
|
|
855
|
+
export const ObjectAuditRule: (abstract new(identity: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, objectType: Guid, inheritedObjectType: Guid, auditFlags: AuditFlags) => ObjectAuditRule) & {
|
|
880
856
|
};
|
|
881
857
|
|
|
882
858
|
|
|
883
859
|
export type ObjectAuditRule = ObjectAuditRule$instance;
|
|
884
860
|
|
|
885
|
-
export
|
|
886
|
-
protected abstract ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
887
|
-
protected abstract ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
888
|
-
protected Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
889
|
-
protected Persist(name: string, includeSections: AccessControlSections): void;
|
|
890
|
-
protected Persist(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
export interface ObjectSecurity$instance extends ObjectSecurity$protected {
|
|
861
|
+
export interface ObjectSecurity$instance {
|
|
895
862
|
readonly AccessRightType: Type;
|
|
896
863
|
readonly AccessRuleType: Type;
|
|
897
864
|
readonly AreAccessRulesCanonical: boolean;
|
|
@@ -905,8 +872,13 @@ export interface ObjectSecurity$instance extends ObjectSecurity$protected {
|
|
|
905
872
|
GetOwner(targetType: Type): IdentityReference | undefined;
|
|
906
873
|
GetSecurityDescriptorBinaryForm(): byte[];
|
|
907
874
|
GetSecurityDescriptorSddlForm(includeSections: AccessControlSections): string;
|
|
875
|
+
ModifyAccess(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
908
876
|
ModifyAccessRule(modification: AccessControlModification, rule: AccessRule, modified: boolean): boolean;
|
|
877
|
+
ModifyAudit(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
909
878
|
ModifyAuditRule(modification: AccessControlModification, rule: AuditRule, modified: boolean): boolean;
|
|
879
|
+
Persist(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
880
|
+
Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
881
|
+
Persist(name: string, includeSections: AccessControlSections): void;
|
|
910
882
|
PurgeAccessRules(identity: IdentityReference): void;
|
|
911
883
|
PurgeAuditRules(identity: IdentityReference): void;
|
|
912
884
|
SetAccessRuleProtection(isProtected: boolean, preserveInheritance: boolean): void;
|
|
@@ -920,24 +892,14 @@ export interface ObjectSecurity$instance extends ObjectSecurity$protected {
|
|
|
920
892
|
}
|
|
921
893
|
|
|
922
894
|
|
|
923
|
-
export const ObjectSecurity: {
|
|
924
|
-
new(): ObjectSecurity;
|
|
925
|
-
new(isContainer: boolean, isDS: boolean): ObjectSecurity;
|
|
926
|
-
new(securityDescriptor: CommonSecurityDescriptor): ObjectSecurity;
|
|
895
|
+
export const ObjectSecurity: (abstract new() => ObjectSecurity) & (abstract new(isContainer: boolean, isDS: boolean) => ObjectSecurity) & (abstract new(securityDescriptor: CommonSecurityDescriptor) => ObjectSecurity) & {
|
|
927
896
|
IsSddlConversionSupported(): boolean;
|
|
928
897
|
};
|
|
929
898
|
|
|
930
899
|
|
|
931
900
|
export type ObjectSecurity = ObjectSecurity$instance;
|
|
932
901
|
|
|
933
|
-
export
|
|
934
|
-
protected Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
935
|
-
protected Persist7(name: string, includeSections: AccessControlSections): void;
|
|
936
|
-
protected Persist6(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
export interface ObjectSecurity_1$instance<T extends unknown> extends ObjectSecurity_1$protected<T>, NativeObjectSecurity {
|
|
902
|
+
export interface ObjectSecurity_1$instance<T extends unknown> extends NativeObjectSecurity {
|
|
941
903
|
readonly AccessRightType: Type;
|
|
942
904
|
readonly AccessRuleType: Type;
|
|
943
905
|
readonly AuditRuleType: Type;
|
|
@@ -945,6 +907,9 @@ export interface ObjectSecurity_1$instance<T extends unknown> extends ObjectSecu
|
|
|
945
907
|
AddAccessRule2(rule: AccessRule_1<T>): void;
|
|
946
908
|
AddAuditRule2(rule: AuditRule_1<T>): void;
|
|
947
909
|
AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
|
|
910
|
+
Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
911
|
+
Persist(name: string, includeSections: AccessControlSections): void;
|
|
912
|
+
Persist(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
948
913
|
RemoveAccessRule2(rule: AccessRule_1<T>): boolean;
|
|
949
914
|
RemoveAccessRuleAll2(rule: AccessRule_1<T>): void;
|
|
950
915
|
RemoveAccessRuleSpecific2(rule: AccessRule_1<T>): void;
|
|
@@ -957,12 +922,7 @@ export interface ObjectSecurity_1$instance<T extends unknown> extends ObjectSecu
|
|
|
957
922
|
}
|
|
958
923
|
|
|
959
924
|
|
|
960
|
-
export const ObjectSecurity_1: {
|
|
961
|
-
new<T extends unknown>(isContainer: boolean, resourceType: ResourceType): ObjectSecurity_1<T>;
|
|
962
|
-
new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections): ObjectSecurity_1<T>;
|
|
963
|
-
new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode, exceptionContext: unknown): ObjectSecurity_1<T>;
|
|
964
|
-
new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections): ObjectSecurity_1<T>;
|
|
965
|
-
new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: NativeObjectSecurity_ExceptionFromErrorCode, exceptionContext: unknown): ObjectSecurity_1<T>;
|
|
925
|
+
export const ObjectSecurity_1: (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, safeHandle: SafeHandle, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections) => ObjectSecurity_1<T>) & (abstract new<T extends unknown>(isContainer: boolean, resourceType: ResourceType, name: string, includeSections: AccessControlSections, exceptionFromErrorCode: unknown, exceptionContext: unknown) => ObjectSecurity_1<T>) & {
|
|
966
926
|
};
|
|
967
927
|
|
|
968
928
|
|
|
@@ -1006,7 +966,7 @@ export type QualifiedAce = QualifiedAce$instance;
|
|
|
1006
966
|
export interface RawAcl$instance extends GenericAcl$instance {
|
|
1007
967
|
readonly BinaryLength: int;
|
|
1008
968
|
readonly Count: int;
|
|
1009
|
-
|
|
969
|
+
[index: number]: GenericAce;
|
|
1010
970
|
readonly Revision: byte;
|
|
1011
971
|
CopyTo(array: GenericAce[], index: int): void;
|
|
1012
972
|
CopyTo(array: ClrArray, index: int): void;
|
|
@@ -1035,12 +995,14 @@ export type RawAcl = RawAcl$instance & __RawAcl$views;
|
|
|
1035
995
|
export interface RawSecurityDescriptor$instance extends GenericSecurityDescriptor {
|
|
1036
996
|
readonly ControlFlags: ControlFlags;
|
|
1037
997
|
get DiscretionaryAcl(): RawAcl | undefined;
|
|
1038
|
-
set DiscretionaryAcl(value: RawAcl);
|
|
1039
|
-
Group: SecurityIdentifier;
|
|
1040
|
-
|
|
998
|
+
set DiscretionaryAcl(value: RawAcl | undefined);
|
|
999
|
+
get Group(): SecurityIdentifier | undefined;
|
|
1000
|
+
set Group(value: SecurityIdentifier | undefined);
|
|
1001
|
+
get Owner(): SecurityIdentifier | undefined;
|
|
1002
|
+
set Owner(value: SecurityIdentifier | undefined);
|
|
1041
1003
|
ResourceManagerControl: byte;
|
|
1042
1004
|
get SystemAcl(): RawAcl | undefined;
|
|
1043
|
-
set SystemAcl(value: RawAcl);
|
|
1005
|
+
set SystemAcl(value: RawAcl | undefined);
|
|
1044
1006
|
SetFlags(flags: ControlFlags): void;
|
|
1045
1007
|
}
|
|
1046
1008
|
|
|
@@ -66,7 +66,6 @@ export const AuthenticationException: {
|
|
|
66
66
|
new(): AuthenticationException;
|
|
67
67
|
new(message: string): AuthenticationException;
|
|
68
68
|
new(message: string, innerException: Exception): AuthenticationException;
|
|
69
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): AuthenticationException;
|
|
70
69
|
};
|
|
71
70
|
|
|
72
71
|
|
|
@@ -86,7 +85,6 @@ export const InvalidCredentialException: {
|
|
|
86
85
|
new(): InvalidCredentialException;
|
|
87
86
|
new(message: string): InvalidCredentialException;
|
|
88
87
|
new(message: string, innerException: Exception): InvalidCredentialException;
|
|
89
|
-
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): InvalidCredentialException;
|
|
90
88
|
};
|
|
91
89
|
|
|
92
90
|
|
|
@@ -38,20 +38,14 @@ export enum ProtectionScenario {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
export
|
|
42
|
-
protected Dispose3(disposing: boolean): void;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export interface ChannelBinding$instance extends ChannelBinding$protected, SafeHandleZeroOrMinusOneIsInvalid {
|
|
41
|
+
export interface ChannelBinding$instance extends SafeHandleZeroOrMinusOneIsInvalid {
|
|
47
42
|
readonly Size: int;
|
|
48
43
|
Dispose(): void;
|
|
44
|
+
Dispose(disposing: boolean): void;
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
|
|
52
|
-
export const ChannelBinding: {
|
|
53
|
-
new(): ChannelBinding;
|
|
54
|
-
new(ownsHandle: boolean): ChannelBinding;
|
|
48
|
+
export const ChannelBinding: (abstract new() => ChannelBinding) & (abstract new(ownsHandle: boolean) => ChannelBinding) & {
|
|
55
49
|
};
|
|
56
50
|
|
|
57
51
|
|
|
@@ -76,7 +70,6 @@ export const ExtendedProtectionPolicy: {
|
|
|
76
70
|
new(policyEnforcement: PolicyEnforcement, protectionScenario: ProtectionScenario, customServiceNames: ICollection): ExtendedProtectionPolicy;
|
|
77
71
|
new(policyEnforcement: PolicyEnforcement, customChannelBinding: ChannelBinding): ExtendedProtectionPolicy;
|
|
78
72
|
new(policyEnforcement: PolicyEnforcement): ExtendedProtectionPolicy;
|
|
79
|
-
new(info: SerializationInfo, context: StreamingContext): ExtendedProtectionPolicy;
|
|
80
73
|
readonly OSSupportsExtendedProtection: boolean;
|
|
81
74
|
};
|
|
82
75
|
|
|
@@ -14,17 +14,12 @@ import type { IIdentity, IPrincipal } from "../../System.Security.Principal/inte
|
|
|
14
14
|
import * as System_Internal from "../../System/internal/index.js";
|
|
15
15
|
import type { Boolean as ClrBoolean, Byte, Func_1, Func_2, Int32, Object as ClrObject, Predicate_1, String as ClrString, StringComparison, Type, Void } from "../../System/internal/index.js";
|
|
16
16
|
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
protected WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export interface Claim$instance extends Claim$protected {
|
|
17
|
+
export interface Claim$instance {
|
|
18
|
+
readonly CustomSerializationData: byte[] | undefined;
|
|
24
19
|
readonly Issuer: string;
|
|
25
20
|
readonly OriginalIssuer: string;
|
|
26
21
|
readonly Properties: IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
27
|
-
readonly Subject: ClaimsIdentity;
|
|
22
|
+
readonly Subject: ClaimsIdentity | undefined;
|
|
28
23
|
readonly Type: string;
|
|
29
24
|
readonly Value: string;
|
|
30
25
|
readonly ValueType: string;
|
|
@@ -32,6 +27,7 @@ export interface Claim$instance extends Claim$protected {
|
|
|
32
27
|
Clone(identity: ClaimsIdentity): Claim;
|
|
33
28
|
ToString(): string;
|
|
34
29
|
WriteTo(writer: BinaryWriter): void;
|
|
30
|
+
WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
35
31
|
}
|
|
36
32
|
|
|
37
33
|
|
|
@@ -43,46 +39,40 @@ export const Claim: {
|
|
|
43
39
|
new(type: string, value: string, valueType: string, issuer: string): Claim;
|
|
44
40
|
new(type: string, value: string, valueType: string, issuer: string, originalIssuer: string): Claim;
|
|
45
41
|
new(type: string, value: string, valueType: string, issuer: string, originalIssuer: string, subject: ClaimsIdentity): Claim;
|
|
46
|
-
new(other: Claim): Claim;
|
|
47
|
-
new(other: Claim, subject: ClaimsIdentity): Claim;
|
|
48
42
|
};
|
|
49
43
|
|
|
50
44
|
|
|
51
45
|
export type Claim = Claim$instance;
|
|
52
46
|
|
|
53
|
-
export
|
|
54
|
-
protected readonly CustomSerializationData: byte[] | undefined;
|
|
55
|
-
protected CreateClaim(reader: BinaryReader): Claim;
|
|
56
|
-
protected GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
57
|
-
protected WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export interface ClaimsIdentity$instance extends ClaimsIdentity$protected {
|
|
47
|
+
export interface ClaimsIdentity$instance {
|
|
62
48
|
get Actor(): ClaimsIdentity | undefined;
|
|
63
|
-
set Actor(value: ClaimsIdentity);
|
|
49
|
+
set Actor(value: ClaimsIdentity | undefined);
|
|
64
50
|
readonly AuthenticationType: string | string | undefined;
|
|
65
51
|
get BootstrapContext(): unknown | undefined;
|
|
66
|
-
set BootstrapContext(value: unknown);
|
|
52
|
+
set BootstrapContext(value: unknown | undefined);
|
|
67
53
|
readonly Claims: IEnumerable_1<Claim>;
|
|
54
|
+
readonly CustomSerializationData: byte[] | undefined;
|
|
68
55
|
readonly IsAuthenticated: boolean;
|
|
69
56
|
get Label(): string | undefined;
|
|
70
|
-
set Label(value: string);
|
|
71
|
-
readonly Name: string;
|
|
57
|
+
set Label(value: string | undefined);
|
|
58
|
+
readonly Name: string | string | undefined;
|
|
72
59
|
readonly NameClaimType: string;
|
|
73
60
|
readonly RoleClaimType: string;
|
|
74
61
|
AddClaim(claim: Claim): void;
|
|
75
62
|
AddClaims(claims: IEnumerable_1<Claim>): void;
|
|
76
63
|
Clone(): ClaimsIdentity;
|
|
64
|
+
CreateClaim(reader: BinaryReader): Claim;
|
|
77
65
|
FindAll(match: Predicate_1<Claim>): IEnumerable_1<Claim>;
|
|
78
66
|
FindAll(type: string): IEnumerable_1<Claim>;
|
|
79
67
|
FindFirst(match: Predicate_1<Claim>): Claim | undefined;
|
|
80
68
|
FindFirst(type: string): Claim | undefined;
|
|
69
|
+
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
81
70
|
HasClaim(match: Predicate_1<Claim>): boolean;
|
|
82
71
|
HasClaim(type: string, value: string): boolean;
|
|
83
72
|
RemoveClaim(claim: Claim): void;
|
|
84
73
|
TryRemoveClaim(claim: Claim): boolean;
|
|
85
74
|
WriteTo(writer: BinaryWriter): void;
|
|
75
|
+
WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
86
76
|
}
|
|
87
77
|
|
|
88
78
|
|
|
@@ -98,11 +88,7 @@ export const ClaimsIdentity: {
|
|
|
98
88
|
new(identity: IIdentity, claims: IEnumerable_1<Claim>, authenticationType: string, nameType: string, roleType: string): ClaimsIdentity;
|
|
99
89
|
new(reader: BinaryReader): ClaimsIdentity;
|
|
100
90
|
new(reader: BinaryReader, stringComparison: StringComparison): ClaimsIdentity;
|
|
101
|
-
new(other: ClaimsIdentity): ClaimsIdentity;
|
|
102
|
-
new(other: ClaimsIdentity, stringComparison: StringComparison): ClaimsIdentity;
|
|
103
91
|
new(identity: IIdentity, claims: IEnumerable_1<Claim>, authenticationType: string, nameType: string, roleType: string, stringComparison: StringComparison): ClaimsIdentity;
|
|
104
|
-
new(info: SerializationInfo, context: StreamingContext): ClaimsIdentity;
|
|
105
|
-
new(info: SerializationInfo): ClaimsIdentity;
|
|
106
92
|
readonly DefaultIssuer: string;
|
|
107
93
|
readonly DefaultNameClaimType: string;
|
|
108
94
|
readonly DefaultRoleClaimType: string;
|
|
@@ -118,34 +104,29 @@ export interface ClaimsIdentity$instance extends System_Security_Principal_Inter
|
|
|
118
104
|
export type ClaimsIdentity = ClaimsIdentity$instance & __ClaimsIdentity$views;
|
|
119
105
|
|
|
120
106
|
|
|
121
|
-
export
|
|
122
|
-
protected readonly CustomSerializationData: byte[] | undefined;
|
|
123
|
-
protected CreateClaimsIdentity(reader: BinaryReader): ClaimsIdentity;
|
|
124
|
-
protected GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
125
|
-
protected WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
export interface ClaimsPrincipal$instance extends ClaimsPrincipal$protected {
|
|
107
|
+
export interface ClaimsPrincipal$instance {
|
|
130
108
|
readonly Claims: IEnumerable_1<Claim>;
|
|
109
|
+
readonly CustomSerializationData: byte[] | undefined;
|
|
131
110
|
readonly Identities: IEnumerable_1<ClaimsIdentity>;
|
|
132
111
|
readonly Identity: IIdentity | IIdentity | undefined;
|
|
133
112
|
AddIdentities(identities: IEnumerable_1<ClaimsIdentity>): void;
|
|
134
113
|
AddIdentity(identity: ClaimsIdentity): void;
|
|
135
114
|
Clone(): ClaimsPrincipal;
|
|
115
|
+
CreateClaimsIdentity(reader: BinaryReader): ClaimsIdentity;
|
|
136
116
|
FindAll(match: Predicate_1<Claim>): IEnumerable_1<Claim>;
|
|
137
117
|
FindAll(type: string): IEnumerable_1<Claim>;
|
|
138
118
|
FindFirst(match: Predicate_1<Claim>): Claim | undefined;
|
|
139
119
|
FindFirst(type: string): Claim | undefined;
|
|
120
|
+
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
140
121
|
HasClaim(match: Predicate_1<Claim>): boolean;
|
|
141
122
|
HasClaim(type: string, value: string): boolean;
|
|
142
123
|
IsInRole(role: string): boolean;
|
|
143
124
|
WriteTo(writer: BinaryWriter): void;
|
|
125
|
+
WriteTo(writer: BinaryWriter, userData: byte[]): void;
|
|
144
126
|
}
|
|
145
127
|
|
|
146
128
|
|
|
147
129
|
export const ClaimsPrincipal: {
|
|
148
|
-
new(info: SerializationInfo, context: StreamingContext): ClaimsPrincipal;
|
|
149
130
|
new(): ClaimsPrincipal;
|
|
150
131
|
new(identities: IEnumerable_1<ClaimsIdentity>): ClaimsPrincipal;
|
|
151
132
|
new(identity: IIdentity): ClaimsPrincipal;
|
|
@@ -153,7 +134,7 @@ export const ClaimsPrincipal: {
|
|
|
153
134
|
new(reader: BinaryReader): ClaimsPrincipal;
|
|
154
135
|
PrimaryIdentitySelector: Func_2<IEnumerable_1<ClaimsIdentity>, ClaimsIdentity | undefined>;
|
|
155
136
|
get ClaimsPrincipalSelector(): Func_1<ClaimsPrincipal | undefined> | undefined;
|
|
156
|
-
set ClaimsPrincipalSelector(value: Func_1<ClaimsPrincipal | undefined>);
|
|
137
|
+
set ClaimsPrincipalSelector(value: Func_1<ClaimsPrincipal | undefined> | undefined);
|
|
157
138
|
readonly Current: ClaimsPrincipal | undefined;
|
|
158
139
|
};
|
|
159
140
|
|