Function: authenticate_travel
This tool belongs to the travel system, which allows users to book flights, manage credit cards, and view budget information. Tool description: Authenticate the user with the travel API
Parameters:
type: dict
properties: client_id: type: string
description: The client applications client_id supplied by App Management
client_secret: type: string
description: The client applications client_secret supplied by App Management
refresh_token: type: string
description: The refresh token obtained from the initial authentication
grant_type: type: string
description: The grant type of the authentication request. Here are the options: read_write, read, write
user_first_name: type: string
description: The first name of the user
user_last_name: type: string
description: The last name of the user
required: client_id, client_secret, refresh_token, grant_type, user_first_name, user_last_name
Response:
type: dict
properties: expires_in: type: integer
description: The number of time it can use until the access token expires
access_token: type: string
description: The access token to be used in the Authorization header of future requests
token_type: type: string
description: The type of token
scope: type: string
description: The scope of the token