-
Notifications
You must be signed in to change notification settings - Fork 32
/
AppCompatSwitches.xml
61 lines (61 loc) · 3.54 KB
/
AppCompatSwitches.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Type Name="AppCompatSwitches" FullName="Microsoft.IdentityModel.Tokens.AppCompatSwitches">
<TypeSignature Language="C#" Value="public static class AppCompatSwitches" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit AppCompatSwitches extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.IdentityModel.Tokens.AppCompatSwitches" />
<TypeSignature Language="VB.NET" Value="Public Class AppCompatSwitches" />
<TypeSignature Language="F#" Value="type AppCompatSwitches = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>8.0.1.0</AssemblyVersion>
<AssemblyVersion>8.0.2.0</AssemblyVersion>
<AssemblyVersion>8.1.0.0</AssemblyVersion>
<AssemblyVersion>8.1.1.0</AssemblyVersion>
<AssemblyVersion>8.1.2.0</AssemblyVersion>
<AssemblyVersion>8.2.0.0</AssemblyVersion>
<AssemblyVersion>8.2.1.0</AssemblyVersion>
<AssemblyVersion>8.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Identifiers used for switching between different app compat behaviors within the Microsoft.IdentityModel libraries.
</summary>
<remarks>
Use <see cref="T:Microsoft.IdentityModel.Tokens.AppContextSwitches" /> instead.
</remarks>
</Docs>
<Members>
<Member MemberName="UseRfcDefinitionOfEpkAndKid">
<MemberSignature Language="C#" Value="public const string UseRfcDefinitionOfEpkAndKid;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string UseRfcDefinitionOfEpkAndKid" />
<MemberSignature Language="DocId" Value="F:Microsoft.IdentityModel.Tokens.AppCompatSwitches.UseRfcDefinitionOfEpkAndKid" />
<MemberSignature Language="VB.NET" Value="Public Const UseRfcDefinitionOfEpkAndKid As String " />
<MemberSignature Language="F#" Value="val mutable UseRfcDefinitionOfEpkAndKid : string" Usage="Microsoft.IdentityModel.Tokens.AppCompatSwitches.UseRfcDefinitionOfEpkAndKid" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.IdentityModel.Tokens</AssemblyName>
<AssemblyVersion>8.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Uses <see cref="P:Microsoft.IdentityModel.Tokens.EncryptingCredentials.KeyExchangePublicKey" /> for the token's `kid` header parameter. When using
ECDH-based key wrap algorithms the public key portion of <see cref="P:Microsoft.IdentityModel.Tokens.EncryptingCredentials.Key" /> is also written
to the token's `epk` header parameter.
</summary>
<remarks>
Enabling this switch improves the library's conformance to RFC 7518 with regards to how the header values for
`kid` and `epk` are set in ECDH key wrap scenarios. The previous behavior erroneously used key ID of
<see cref="P:Microsoft.IdentityModel.Tokens.EncryptingCredentials.Key" /> as the `kid` parameter, and did not automatically set `epk` as the spec
defines. This switch enables the intended behavior where <see cref="P:Microsoft.IdentityModel.Tokens.EncryptingCredentials.KeyExchangePublicKey" />
is used for `kid` and the public portion of <see cref="P:Microsoft.IdentityModel.Tokens.EncryptingCredentials.Key" /> is used for `epk`.
</remarks>
</Docs>
</Member>
</Members>
</Type>