Class TokenInfo

java.lang.Object
com.ringcentral.definitions.TokenInfo

public class TokenInfo extends Object
  • Field Details

    • access_token

      public String access_token
      OAuth access token to pass to subsequent API requests Required Example: U1BCMDFUMDRKV1MwMXxzLFSvXdw5PHMsVLEn_MrtcyxUsw
    • expires_in

      public Long expires_in
      Issued access token TTL (time-to-live) in seconds Required Format: int32 Example: 7199
    • refresh_token

      public String refresh_token
      OAuth refresh token (in case the one was issued) Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_w
    • refresh_token_expires_in

      public Long refresh_token_expires_in
      Issued refresh token TTL (time-to-live) in seconds Format: int32 Example: 604799
    • scope

      public String scope
      List of permissions (space separated) granted to the application with this access token Required Example: AccountInfo CallLog ExtensionInfo Messages SMS
    • token_type

      public String token_type
      Type of token. The only supported value is `bearer`. This value should be used when specifying access token in `Authorization` header of subsequent API requests Required Example: bearer
    • owner_id

      public String owner_id
      Token owner (extension/user) identifier Example: 256440016
    • endpoint_id

      public String endpoint_id
      Application instance identifier Example: 8zXq6oaLT7WvwWITlGiA1A
    • id_token

      public String id_token
      OIDC ID token (if OpenId Connect flow was activated during authorization)
  • Constructor Details

    • TokenInfo

      public TokenInfo()
  • Method Details