FormsSignInPage.GetSecurityToken 方法

从用户的安全令牌服务获取安全令牌。

命名空间:  Microsoft.SharePoint.IdentityModel.Pages
程序集:  Microsoft.SharePoint.IdentityModel(位于 Microsoft.SharePoint.IdentityModel.dll 中)

语法

声明
Protected Overridable Function GetSecurityToken ( _
    formsSignInControl As Login _
) As SecurityToken
用法
Dim formsSignInControl As Login
Dim returnValue As SecurityToken

returnValue = Me.GetSecurityToken(formsSignInControl)
protected virtual SecurityToken GetSecurityToken(
    Login formsSignInControl
)

参数

返回值

类型:System.IdentityModel.Tokens.SecurityToken
一个表示由formsSignInControl描述的用户的安全令牌。可能会返回 null 作为取消操作的一种手段。

另请参阅

引用

FormsSignInPage 类

FormsSignInPage 成员

Microsoft.SharePoint.IdentityModel.Pages 命名空间