Class: Zoom::Client::JWT
- Inherits:
-
Zoom::Client
- Object
- Zoom::Client
- Zoom::Client::JWT
- Defined in:
- lib/zoom/clients/jwt.rb
Constant Summary
Constants included from Actions::Webinar
Actions::Webinar::RECURRENCE_KEYS, Actions::Webinar::SETTINGS_KEYS
Constants included from Actions::Recording
Actions::Recording::RECORDING_SETTINGS_KEYS
Instance Method Summary collapse
- #access_token ⇒ Object
-
#initialize(config) ⇒ JWT
constructor
A new instance of JWT.
Methods inherited from Zoom::Client
#auth_token, #headers, #oauth_request_headers, #request_headers
Methods included from Actions::IM::Chat
#chat_get, #chat_list, #get_chat_channels, #get_chat_user_channels
Methods included from Actions::Webinar
#past_webinar_list, #webinar_create, #webinar_delete, #webinar_get, #webinar_list, #webinar_panelist_list, #webinar_poll_get, #webinar_polls_list, #webinar_registrant_add, #webinar_registrant_get, #webinar_registrants_list, #webinar_registrants_status_update, #webinar_update
Methods included from Actions::User
#user_assistants_create, #user_assistants_delete, #user_assistants_delete_all, #user_assistants_list, #user_create, #user_delete, #user_email_check, #user_get, #user_list, #user_password_update, #user_permissions, #user_recordings_list, #user_schedulers_delete, #user_schedulers_delete_all, #user_schedulers_list, #user_settings_get, #user_settings_update, #user_token, #user_update, #user_vanity_name
Methods included from Actions::Token
#access_tokens, #data_compliance, #refresh_tokens, #revoke_tokens
Methods included from Actions::SipAudio
#sip_trunk_numbers_delete, #sip_trunks_delete, #sip_trunks_get, #sip_trunks_internal_callout_countries_add, #sip_trunks_internal_callout_country_delete, #sip_trunks_internal_callout_country_list, #sip_trunks_internal_numbers_add, #sip_trunks_internal_numbers_delete, #sip_trunks_internal_numbers_list, #sip_trunks_numbers_assign, #sip_trunks_numbers_list
Methods included from Actions::Roles
#roles_assign, #roles_create, #roles_get, #roles_list, #roles_members, #roles_unassign
Methods included from Actions::Report
#daily_report, #meeting_details_report, #meeting_participants_report, #webinar_participants_report
Methods included from Actions::Recording
#meeting_recording_file_delete, #meeting_recording_get, #meeting_recording_settings_get, #meeting_recording_settings_update, #recording_list
Methods included from Actions::Phone
#call_logs, #call_recordings, #phone_users_list
Methods included from Actions::Meeting
#livestream, #meeting_add_registrant, #meeting_create, #meeting_delete, #meeting_get, #meeting_invitation, #meeting_list, #meeting_registrant_questions, #meeting_update, #meeting_update_status, #past_meeting_details, #past_meeting_participants
Methods included from Actions::Groups
Methods included from Actions::Dashboard
#dashboard_crc, #dashboard_meeting_details, #dashboard_meeting_participants, #dashboard_meetings
Methods included from Actions::Billing
#billing_get, #billing_plans_list, #billing_plans_subscribe, #billing_plans_usage, #billing_update
Methods included from Actions::Account
#account_create, #account_delete, #account_get, #account_get_locked_settings, #account_list, #account_managed_domains, #account_options_update, #account_settings_get, #account_settings_update, #account_trusted_domains
Constructor Details
Instance Method Details
#access_token ⇒ Object
14 15 16 |
# File 'lib/zoom/clients/jwt.rb', line 14 def access_token ::JWT.encode({ iss: @api_key, exp: Time.now.to_i + @timeout }, @api_secret, 'HS256', { typ: 'JWT' }) end |