共用方式為


WebAuthenticatorResult 類別

定義

代表從回呼 URL 剖析的 Web Authenticator Result 物件。

public ref class WebAuthenticatorResult
public class WebAuthenticatorResult
type WebAuthenticatorResult = class
Public Class WebAuthenticatorResult
繼承
WebAuthenticatorResult

備註

所有查詢字串或 URL 片段屬性都會剖析成字典,並可透過索引鍵存取。

建構函式

WebAuthenticatorResult()

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

WebAuthenticatorResult(IDictionary<String,String>)

從現有的字典建立新的實例。

WebAuthenticatorResult(Uri)

藉由剖析 URI 的查詢字串參數,初始化 類別的新實例 WebAuthenticatorResult

WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder)

藉由剖析 URI 的查詢字串參數,初始化 類別的新實例 WebAuthenticatorResult

屬性

AccessToken

索引鍵的值 access_token

CallbackUri

用來使用存取令牌來回呼的 URI。

ExpiresIn

根據建立結果的時間戳計算的到期日,加上索引鍵的值 expires_in 以秒為單位。

IdToken

索引鍵的值 id_token

Properties

剖析的索引鍵/值組字典會形成回呼 URI 的查詢字串。

RefreshToken

索引鍵的值 refresh_token

RefreshTokenExpiresIn

重新整理令牌到期日,如建立結果的時間戳所計算,加上refresh_token_expires_in索引鍵的值以秒為單位。

Timestamp

具現化 類別時的時間戳,通常對應至要求的剖析結果。

方法

Get(String)

從字典取得指定索引鍵的值。

Put(String, String)

將索引鍵/值組放入字典中。

適用於