Skip to content

Commit

Permalink
Merge branch 'release/0.49.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Aug 16, 2022
2 parents 4be066f + 8c03502 commit c66cf8d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var clientId = "... your client ID ...";
var clientSecret = "... your client secret ...";
var refreshToken = "... the refresh token previously issued by Zoom ...";
var authorizationCode = "... the code that Zoom issued when you added the OAuth app to your account ...";
var redirectUri = "... the URI you have configured when setting up your OAuth app ..."; // Please note that Zoom sometimes accepts a null value and sometimes rejects it with a 'Redirect URI mismatch' error
var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, authorizationCode,
(newRefreshToken, newAccessToken) =>
{
Expand All @@ -93,7 +94,8 @@ var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, authorizati
*/
Environment.SetEnvironmentVariable("ZOOM_OAUTH_REFRESHTOKEN", newRefreshToken, EnvironmentVariableTarget.User);
Environment.SetEnvironmentVariable("ZOOM_OAUTH_ACCESSTOKEN", newAccessToken, EnvironmentVariableTarget.User);
});
},
redirectUri);
var zoomClient = new ZoomClient(connectionInfo);
```

Expand Down
18 changes: 9 additions & 9 deletions Source/ZoomNet.IntegrationTests/TestsRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ public async Task<int> RunAsync()
// These are the integration tests that we will execute
var integrationTests = new Type[]
{
//typeof(Accounts),
//typeof(Chat),
//typeof(CloudRecordings),
//typeof(Contacts),
//typeof(Dashboards),
//typeof(Meetings),
//typeof(Roles),
typeof(Accounts),
typeof(Chat),
typeof(CloudRecordings),
typeof(Contacts),
typeof(Dashboards),
typeof(Meetings),
typeof(Roles),
typeof(Users),
//typeof(Webinars),
//typeof(Reports)
typeof(Webinars),
typeof(Reports)
};

// Get my user and permisisons
Expand Down
4 changes: 4 additions & 0 deletions Source/ZoomNet/Models/PhoneType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ namespace ZoomNet.Models
/// </summary>
public enum PhoneType
{
/// <summary>Unspecified.</summary>
[EnumMember(Value = "")]
Unspecified,

/// <summary>Mobile.</summary>
[EnumMember(Value = "Mobile")]
Mobile,
Expand Down

0 comments on commit c66cf8d

Please sign in to comment.