語言

WsFederationMessage 類別

定義

提供常見的 WsFederation 訊息參數存取。

public class WsFederationMessage : Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage
type WsFederationMessage = class
    inherit AuthenticationProtocolMessage
Public Class WsFederationMessage
Inherits AuthenticationProtocolMessage
繼承

建構函式

名稱 Description
WsFederationMessage()

初始化 WsFederationMessage 類別的新執行個體。

WsFederationMessage(IEnumerable<KeyValuePair<String,String[]>>)

初始化 WsFederationMessage 類別的新執行個體。

WsFederationMessage(WsFederationMessage)

初始化 WsFederationMessage 類別的新執行個體。

屬性

名稱 Description
IsSignInMessage

會得到一個布林值,表示如果是 WsFederationMessage 「登入訊息」。

IsSignOutMessage

會得到一個布林值,表示如果是 WsFederationMessage 「登出訊息」。

IssuerAddress

取得或設定發行機構的地址。

(繼承來源 AuthenticationProtocolMessage)
Parameters

以字典的形式取得訊息參數。

(繼承來源 AuthenticationProtocolMessage)
PostTitle

取得或設定在建構 post 字串時使用的標題。

(繼承來源 AuthenticationProtocolMessage)
Script

取得建構 post 字串時使用的腳本。

(繼承來源 AuthenticationProtocolMessage)
ScriptButtonText

取得或設定用於建構文章字串時使用的腳本按鈕文字。

(繼承來源 AuthenticationProtocolMessage)
ScriptDisabledText

取得或設定用於構建文章字串時使用的文字,若腳本被停用時會顯示。

(繼承來源 AuthenticationProtocolMessage)
Wa

要麼設定“wa”。

Wattr

會被設定為「wattr」。

Wattrptr

獲得或設定「wattrptr」。

Wauth

要是要「wauth」或設定「wauth」。

Wct

會被設定為「wct」。

Wctx

會被設定為「wctx」。

Wencoding

能被設定為「wencoding」。

Wfed

被「餵食」或設定。

Wfresh

能讓它變得「新鮮」或設定。

Whr

要是被「打」或「打」出來。

Wp

會被設定為「wp」。

Wpseudo

獲得或設定「偽牌」。

Wpseudoptr

會被設定為「wpseudoptr」。

Wreply

取得或設定「wreply」。

Wreq

要麼設定“wreq”。

Wreqptr

獲得或設定為「wreqptr」。

Wres

拿到或設定「wres」。

Wresult

取得或設定「結果」。

Wresultptr

會被設定為「wresultptr」。

Wtrealm

獲得或設定為「wtrealm」。

方法

名稱 Description
BuildFormPost()

利用目前的發行人地址和已設定的參數建立表單貼文。

(繼承來源 AuthenticationProtocolMessage)
BuildRedirectUrl()

利用目前的發行者地址及已設定的參數建立 URL。

(繼承來源 AuthenticationProtocolMessage)
CreateSignInUrl()

利用目前 WsFederationMessage的 wsignin1.0 訊息建立訊息。

CreateSignOutUrl()

利用目前 WsFederationMessage的內容建立一個「wsignout1.0」訊息。

FromQueryString(String)

從查詢字串的內容建立 a WsFederationMessage 。

FromUri(Uri)

由 Uri的內容生成 a WsFederationMessage 。

GetParameter(String)

回傳一個參數。

(繼承來源 AuthenticationProtocolMessage)
GetToken()

讀取 'wresult' 並回傳內嵌的安全標記。

GetTokenUsingXmlReader()

讀取 'wresult' 並回傳內嵌的安全標記。

RemoveParameter(String)

移除一個參數。

(繼承來源 AuthenticationProtocolMessage)
SetParameter(String, String)

為參數字典設定參數。

(繼承來源 AuthenticationProtocolMessage)
SetParameters(NameValueCollection)

設定集合參數。

(繼承來源 AuthenticationProtocolMessage)

適用於