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.
Web Authenticator Result parsed from the callback Url.
public class WebAuthenticatorResult
- Inheritance
-
System.ObjectWebAuthenticatorResult
Remarks
All of the querystring or url fragment properties are parsed into a dictionary and can be accessed by their key.
Constructors
WebAuthenticatorResult() | |
WebAuthenticatorResult(IDictionary<String,String>) |
Create a new instance from an existing dictionary. |
WebAuthenticatorResult(Uri) |
Create a new instance by parsing a Uri's querystring parameters. |
Properties
AccessToken |
The value for the |
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 querystring. |
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. |