OAuthTokenResponse 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.
Response from an provider for an OAuth token request.
public ref class OAuthTokenResponsepublic ref class OAuthTokenResponse : IDisposablepublic class OAuthTokenResponsepublic class OAuthTokenResponse : IDisposabletype OAuthTokenResponse = classtype OAuthTokenResponse = class
    interface IDisposablePublic Class OAuthTokenResponsePublic Class OAuthTokenResponse
Implements IDisposable- Inheritance
- 
				OAuthTokenResponse
- Implements
Properties
| AccessToken | Gets or sets the access token issued by the OAuth provider. | 
| Error | The exception in the event the response was a failure. | 
| ExpiresIn | Gets or sets the validatity lifetime of the token in seconds. | 
| RefreshToken | Gets or sets a refresh token that applications can use to obtain another access token if tokens can expire. | 
| Response | Gets or sets the received JSON payload. | 
| TokenType | Gets or sets the token type. | 
Methods
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | 
| Failed(Exception) | Creates a failed OAuthTokenResponse. | 
| Success(JObject) | |
| Success(JsonDocument) | Creates a successful OAuthTokenResponse. |