WebAuthenticatorResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Web Authenticator Result object parsed from the callback Url.
public ref class WebAuthenticatorResult
public class WebAuthenticatorResult
type WebAuthenticatorResult = class
Public Class WebAuthenticatorResult
- Inheritance
-
WebAuthenticatorResult
Remarks
All of the query string or url fragment properties are parsed into a dictionary and can be accessed by their key.
Constructors
WebAuthenticatorResult() |
Initializes a new instance of the WebAuthenticatorResult class. |
WebAuthenticatorResult(IDictionary<String,String>) |
Create a new instance from an existing dictionary. |
WebAuthenticatorResult(Uri, IWebAuthenticatorResponseDecoder) |
Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters. |
WebAuthenticatorResult(Uri) |
Initializes a new instance of the WebAuthenticatorResult class by parsing a URI's query string parameters. |
Properties
AccessToken |
The value for the |
CallbackUri |
The uri that was used to call back with the access token. |
ExpiresIn |
The expiry date as calculated by the timestamp of when the result was created plus
the value in seconds for the |
IdToken |
The value for the |
Properties |
The dictionary of key/value pairs parsed form the callback URI's query string. |
RefreshToken |
The value for the |
RefreshTokenExpiresIn |
The refresh token expiry date as calculated by the timestamp of when the result was created plus the value in seconds for the refresh_token_expires_in key. |
Timestamp |
The timestamp when the class was instantiated, which usually corresponds with the parsed result of a request. |
Methods
Get(String) |
Gets a value for a given key from the dictionary. |
Put(String, String) |
Puts a key/value pair into the dictionary. |