Skip to content

Conversation

graygnuorg
Copy link

This implements OAuth2 support instead of the deprecated JWT

Detailed list of changes:

  • client.go (APIKey, APISecret): Remove globals.
    (AccountID, ClientID, ClientSecret): New globals.
    (Client): Remove Key, Secret, and Transport.
    New field: Config.
    (NewClient): Change signature. Create OAuth2 client. All uses changed.
    (executeRequest): Update.
  • _example/meetings/create_meeting.go: Rewrite example.
  • README.md: Document new variables.
  • jwt.go: Remove.
  • user_test.go: Use new variables.
  • webinar_test.go: Likewise.
  • cloud_recording_test.go: Likewise.
  • go.mod: Update.
  • go.sum: Update.
  • vendor/modules.txt: Update.

* client.go (APIKey, APISecret): Remove globals.
(AccountID, ClientID, ClientSecret): New globals.
(Client): Remove Key, Secret, and Transport.
New field: Config.
(NewClient): Change signature. Create OAuth2 client.
All uses changed.
(executeRequest): Update.
* _example/meetings/create_meeting.go: Rewrite example.
* go.mod: Update.
* go.sum: Update.
* vendor/modules.txt: Update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant