OAuthToken
Provider-neutral OAuth token material returned by an authorization server.
Class Diagram
Section titled “Class Diagram”---
title: OAuthToken
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class OAuthToken {
+string accessToken
+string tokenType
+int64 expiresIn
+string refreshToken
+string scope
}
Yaml Example
Section titled “Yaml Example”refreshToken: 0.AXoAoffline-refresh-token-valuescope: https://cognitiveservices.azure.com/.default offline_accessProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| accessToken | string | The bearer access token |
| tokenType | string | The token type, typically Bearer |
| expiresIn | int64 | Lifetime of the access token in seconds |
| refreshToken | string | Refresh token when offline access was granted |
| scope | string | Scopes granted by the authorization server |