/
SecurityTokenValidatedEventArgs.xml
81 lines (77 loc) · 5.77 KB
/
SecurityTokenValidatedEventArgs.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<Type Name="SecurityTokenValidatedEventArgs" FullName="System.IdentityModel.Services.SecurityTokenValidatedEventArgs">
<TypeSignature Language="C#" Value="public class SecurityTokenValidatedEventArgs : System.ComponentModel.CancelEventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SecurityTokenValidatedEventArgs extends System.ComponentModel.CancelEventArgs" />
<TypeSignature Language="DocId" Value="T:System.IdentityModel.Services.SecurityTokenValidatedEventArgs" />
<TypeSignature Language="VB.NET" Value="Public Class SecurityTokenValidatedEventArgs
Inherits CancelEventArgs" />
<TypeSignature Language="F#" Value="type SecurityTokenValidatedEventArgs = class
 inherit CancelEventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class SecurityTokenValidatedEventArgs : System::ComponentModel::CancelEventArgs" />
<AssemblyInfo>
<AssemblyName>System.IdentityModel.Services</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ComponentModel.CancelEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides data for the <see cref="E:System.IdentityModel.Services.WSFederationAuthenticationModule.SecurityTokenValidated" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The event is raised just after the issued token that was received from the security token service (STS) is validated during sign-in. You can access the principal that was created during validation by using the <xref:System.IdentityModel.Services.SecurityTokenValidatedEventArgs.ClaimsPrincipal%2A> property and either modify or replace it. You can set the <xref:System.ComponentModel.CancelEventArgs.Cancel%2A> property to cancel processing of the sign-in response message.
]]></format>
</remarks>
<altmember cref="E:System.IdentityModel.Services.WSFederationAuthenticationModule.SecurityTokenValidated" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SecurityTokenValidatedEventArgs (System.Security.Claims.ClaimsPrincipal claimsPrincipal);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Security.Claims.ClaimsPrincipal claimsPrincipal) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IdentityModel.Services.SecurityTokenValidatedEventArgs.#ctor(System.Security.Claims.ClaimsPrincipal)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (claimsPrincipal As ClaimsPrincipal)" />
<MemberSignature Language="F#" Value="new System.IdentityModel.Services.SecurityTokenValidatedEventArgs : System.Security.Claims.ClaimsPrincipal -> System.IdentityModel.Services.SecurityTokenValidatedEventArgs" Usage="new System.IdentityModel.Services.SecurityTokenValidatedEventArgs claimsPrincipal" />
<MemberSignature Language="C++ CLI" Value="public:
 SecurityTokenValidatedEventArgs(System::Security::Claims::ClaimsPrincipal ^ claimsPrincipal);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel.Services</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="claimsPrincipal" Type="System.Security.Claims.ClaimsPrincipal" />
</Parameters>
<Docs>
<param name="claimsPrincipal">The claims principal resulting from validation of the received <see cref="T:System.IdentityModel.Tokens.SecurityToken" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.IdentityModel.Services.SecurityTokenValidatedEventArgs" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.IdentityModel.Services.SecurityTokenValidatedEventArgs.ClaimsPrincipal%2A> property is set to the principal specified in the `claimsPrincipal` parameter.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="claimsPrincipal" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="ClaimsPrincipal">
<MemberSignature Language="C#" Value="public System.Security.Claims.ClaimsPrincipal ClaimsPrincipal { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Security.Claims.ClaimsPrincipal ClaimsPrincipal" />
<MemberSignature Language="DocId" Value="P:System.IdentityModel.Services.SecurityTokenValidatedEventArgs.ClaimsPrincipal" />
<MemberSignature Language="VB.NET" Value="Public Property ClaimsPrincipal As ClaimsPrincipal" />
<MemberSignature Language="F#" Value="member this.ClaimsPrincipal : System.Security.Claims.ClaimsPrincipal with get, set" Usage="System.IdentityModel.Services.SecurityTokenValidatedEventArgs.ClaimsPrincipal" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Security::Claims::ClaimsPrincipal ^ ClaimsPrincipal { System::Security::Claims::ClaimsPrincipal ^ get(); void set(System::Security::Claims::ClaimsPrincipal ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.IdentityModel.Services</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Claims.ClaimsPrincipal</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> that results from token validation.</summary>
<value>The claims principal that results from token validation.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>