When the STS issues a security token for the user, SessionAuthenticationModule also creates a session security token for the user and places it in a cookie. On subsequent requests, the SessionAuthenticationModule intercepts this cookie and uses it to reconstruct the user’s IClaimsPrincipal.
下表列出了 SessionAuthenticationModule 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| SessionAuthenticationModule | Initializes an instance of SessionAuthenticationModule. |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
ContextSessionSecurityToken | |
![]() |
CookieHandler | |
![]() |
IsSessionMode | |
![]() |
ServiceConfiguration | (从 HttpModuleBase 继承) |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() |
AuthenticateSessionSecurityToken | |
![]() |
ContainsSessionTokenCookie | |
![]() |
CreateSessionSecurityToken | |
![]() |
DeleteSessionTokenCookie | |
![]() |
Dispose | (从 HttpModuleBase 继承) |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetType | (从 Object 继承) |
![]() |
Init | (从 HttpModuleBase 继承) |
![]() |
ReadSessionTokenFromCookie | |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
SignOut | |
![]() |
ToString | (从 Object 继承) |
![]() |
TryReadSessionTokenFromCookie | |
![]() |
WriteSessionTokenToCookie |
页首
Protected 方法
页首
Public 事件
| 名称 | 说明 | |
|---|---|---|
![]() |
SessionSecurityTokenCreated | |
![]() |
SessionSecurityTokenReceived | |
![]() |
SignedOut | |
![]() |
SigningOut | |
![]() |
SignOutError |
页首
请参见
参考
SessionAuthenticationModule 类
Microsoft.IdentityModel.Web 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)
.gif)