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_MrtcyxUswApplication instance identifier Example: 8zXq6oaLT7WvwWITlGiA1AIssued access token TTL (time-to-live) in seconds Required Format: int32 Example: 7199OIDC ID token (if OpenId Connect flow was activated during authorization)Token owner (extension/user) identifier Example: 256440016OAuth refresh token (in case the one was issued) Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_wIssued refresh token TTL (time-to-live) in seconds Format: int32 Example: 604799List of permissions (space separated) granted to the application with this access token Required Example: AccountInfo CallLog ExtensionInfo Messages SMSType of 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) token_type
(String token_type)
-
Field Details
-
access_token
OAuth access token to pass to subsequent API requests Required Example: U1BCMDFUMDRKV1MwMXxzLFSvXdw5PHMsVLEn_MrtcyxUsw -
expires_in
Issued access token TTL (time-to-live) in seconds Required Format: int32 Example: 7199 -
refresh_token
OAuth refresh token (in case the one was issued) Example: U1BCMDFUMDRKV1MwMXxzLFL4ec6A0XMsUv9wLriecyxS_w -
refresh_token_expires_in
Issued refresh token TTL (time-to-live) in seconds Format: int32 Example: 604799 -
scope
List of permissions (space separated) granted to the application with this access token Required Example: AccountInfo CallLog ExtensionInfo Messages SMS -
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
Token owner (extension/user) identifier Example: 256440016 -
endpoint_id
Application instance identifier Example: 8zXq6oaLT7WvwWITlGiA1A -
id_token
OIDC ID token (if OpenId Connect flow was activated during authorization)
-
-
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
-