Package com.ringcentral.definitions
Class TokenInfo
java.lang.Object
com.ringcentral.definitions.TokenInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionOAuth access token to pass to subsequent API requests Required Example: U1BCMDFUMDRKV1MwMXxzLFSvXdw5PHMsVLEn_MrtcyxUswClient application instance identifier that matches the value provided by the client, or generated by the server (if a client has not provided this value) Example: 8zXq6oaLT7WvwWITlGiA1AAccess token TTL (time-to-live) in seconds Required Format: int32 Example: 7199OpenID Connect ID token (if OpenID Connect flow was activated during authorization)Token owner's identifier.OAuth refresh token (if issued) Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_wRefresh token TTL (time-to-live) in seconds Format: int32 Example: 604799The list of space-separated application permissions (OAuth scopes) Required Example: AccountInfo CallLog ExtensionInfo Messages SMSAbsolute value of session expiration time in ISO date formatted string.Remaining time in seconds until session expiration due to absolute timeout.OAuth session ID RequiredNominal value of session idle timeout in seconds.Type of the token. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccess_token(String access_token) endpoint_id(String endpoint_id) expires_in(Long expires_in) refresh_token(String refresh_token) refresh_token_expires_in(Long refresh_token_expires_in) session_expiration_time(String session_expiration_time) session_expires_in(Long session_expires_in) session_id(String session_id) session_idle_timeout(Long session_idle_timeout) token_type(String token_type)
-
Field Details
-
access_token
OAuth access token to pass to subsequent API requests Required Example: U1BCMDFUMDRKV1MwMXxzLFSvXdw5PHMsVLEn_MrtcyxUsw -
expires_in
Access token TTL (time-to-live) in seconds Required Format: int32 Example: 7199 -
refresh_token
OAuth refresh token (if issued) Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_w -
refresh_token_expires_in
Refresh token TTL (time-to-live) in seconds Format: int32 Example: 604799 -
scope
The list of space-separated application permissions (OAuth scopes) Required Example: AccountInfo CallLog ExtensionInfo Messages SMS -
token_type
Type of the token. The only supported value is `bearer`. (This value has to be used along with the access token in the `Authorization` header of subsequent API requests) Required Example: bearer Enum: bearer -
owner_id
Token owner's identifier. Contains RingCentral user (extension) ID Example: 256440016 -
endpoint_id
Client application instance identifier that matches the value provided by the client, or generated by the server (if a client has not provided this value) Example: 8zXq6oaLT7WvwWITlGiA1A -
id_token
OpenID Connect ID token (if OpenID Connect flow was activated during authorization) -
session_expires_in
Remaining time in seconds until session expiration due to absolute timeout. Returned only if absolute session timeout is enforced Format: int32 -
session_expiration_time
Absolute value of session expiration time in ISO date formatted string. Returned only if absolute session timeout is enforced Format: date-time Example: Sat Apr 01 2023 05:00:01 GMT-0700 (Pacific Daylight Time) -
session_id
OAuth session ID Required -
session_idle_timeout
Nominal value of session idle timeout in seconds. Returned only if idle session timeout is enforced Format: int32
-
-
Constructor Details
-
TokenInfo
public TokenInfo()
-
-
Method Details
-
access_token
-
expires_in
-
refresh_token
-
refresh_token_expires_in
-
scope
-
token_type
-
owner_id
-
endpoint_id
-
id_token
-
session_expires_in
-
session_expiration_time
-
session_id
-
session_idle_timeout
-