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)

将键/值对放入字典中。

适用于