Class WebAuthenticatorResult
Web Authenticator result parsed from the callback Url.
Inheritance
Inherited Members
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public class WebAuthenticatorResult
Constructors
| Improve this Doc View SourceWebAuthenticatorResult(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 |
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 SourceAccessToken
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 |
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 |
IdToken
Gets the value for the id_token
key.
Declaration
public string IdToken { get; }
Property Value
Type | Description |
---|---|
System.String |
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> |
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 |
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 |