Show / Hide Table of Contents

Class WebAuthenticatorResult

Web Authenticator result parsed from the callback Url.

Inheritance
System.Object
WebAuthenticatorResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
[Obsolete("Use Windows App SDK's Microsoft.Security.Authentication.OAuth APIs instead.")]
public class WebAuthenticatorResult

Constructors

| Improve this Doc View Source

WebAuthenticatorResult(Dictionary<String, String>)

Initializes a new instance of the WebAuthenticatorResult class.

Declaration
public WebAuthenticatorResult(Dictionary<string, string> values)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.String, System.String> values

Values from the authentication callback url

| Improve this Doc View Source

WebAuthenticatorResult(Uri)

Initializes a new instance of the WebAuthenticatorResult class.

Declaration
public WebAuthenticatorResult(Uri callbackUrl)
Parameters
Type Name Description
System.Uri callbackUrl

Callback url

Properties

| Improve this Doc View Source

AccessToken

Gets the value for the access_token key.

Declaration
public string AccessToken { get; }
Property Value
Type Description
System.String

Access Token parsed from the callback URI access_token parameter.

| Improve this Doc View Source

ExpiresIn

The expiry date as calculated by the timestamp of when the result was created plus the value in seconds for the expires_in key.

Declaration
public DateTimeOffset? ExpiresIn { get; }
Property Value
Type Description
System.Nullable<System.DateTimeOffset>

Timestamp of the creation of the object instance plus the expires_in seconds parsed from the callback URI.

| Improve this Doc View Source

IdToken

Gets the value for the id_token key.

Declaration
public string IdToken { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Properties

The dictionary of key/value pairs parsed form the callback URI's querystring.

Declaration
public Dictionary<string, string> Properties { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>
| Improve this Doc View Source

RefreshToken

Gets the value for the refresh_token key.

Declaration
public string RefreshToken { get; }
Property Value
Type Description
System.String

Refresh Token parsed from the callback URI refresh_token parameter.

| Improve this Doc View Source

RefreshTokenExpiresIn

Gets the expiry date as calculated by the timestamp of when the result was created plus the value in seconds for the expires_in key.

Declaration
public DateTimeOffset? RefreshTokenExpiresIn { get; }
Property Value
Type Description
System.Nullable<System.DateTimeOffset>

Timestamp of the creation of the object instance plus the expires_in seconds parsed from the callback URI.

See Also

WebAuthenticator
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX