OAuthTokenExpiredReason
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Why an access token could not be renewed.
4.2.0+- C#
- VB.NET
public enum OAuthTokenExpiredReason
Public Enum OAuthTokenExpiredReason
Fields
| Name | Description | Value |
|---|---|---|
| NoRefreshToken | The access token expired and there is no usable refresh token: the provider issued none — OfflineAccess was false, or it never issues one — or the one it issued has expired. Stored tokens are cleared. | |
| ProviderUnavailable | A network failure, timeout or 5xx occurred during the refresh. Stored tokens are kept so the caller can retry. | |
| RefreshRejected | The refresh grant was rejected: invalid_grant, bad_refresh_token or another 4xx. Stored tokens are cleared. |
Used By
| Name | Description |
|---|---|
| OAuthTokenExpiredEventArgs.Reason | Returns why the token could not be renewed. |