Skip to content
Prompty

OAuthToken

Provider-neutral OAuth token material returned by an authorization server.

---
title: OAuthToken
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class OAuthToken {
        +string accessToken
        +string tokenType
        +int64 expiresIn
        +string refreshToken
        +string scope
    }
refreshToken: 0.AXoAoffline-refresh-token-value
scope: https://cognitiveservices.azure.com/.default offline_access
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