You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Api/AdvancedAuthenticationApi.cs
+179Lines changed: 179 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
usingSystem.Collections.ObjectModel;
13
13
usingSystem.Linq;
14
14
usingSystem.Threading;
15
+
usingSystem.Threading.Tasks;
15
16
usingSystem.IO;
16
17
usingApiVideo.Upload;
17
18
usingRestSharp;
@@ -39,6 +40,21 @@ public AdvancedAuthenticationApi(ApiClient apiClient)
39
40
this.ApiClient=apiClient;
40
41
}
41
42
43
+
/// <summary>
44
+
/// Get Bearer Token Returns a bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
45
+
/// </summary>
46
+
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
47
+
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
/// Get Bearer Token Returns a bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
44
60
/// </summary>
@@ -52,6 +68,80 @@ public AccessToken authenticate(AuthenticatePayload authenticatePayload)
52
68
returnlocalVarResponse.Data;
53
69
}
54
70
71
+
72
+
/// <summary>
73
+
/// Get Bearer Token Returns a bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
74
+
/// </summary>
75
+
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
76
+
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
/// Get Bearer Token Returns a bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
57
147
/// </summary>
@@ -120,6 +210,21 @@ public ApiResponse<AccessToken> authenticateWithHttpInfo(AuthenticatePayload aut
120
210
}
121
211
122
212
213
+
/// <summary>
214
+
/// Refresh Bearer Token Accepts the old bearer token and returns a new bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
215
+
/// </summary>
216
+
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
217
+
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
/// Refresh Bearer Token Accepts the old bearer token and returns a new bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
125
230
/// </summary>
@@ -133,6 +238,80 @@ public AccessToken refresh(RefreshTokenPayload refreshTokenPayload)
133
238
returnlocalVarResponse.Data;
134
239
}
135
240
241
+
242
+
/// <summary>
243
+
/// Refresh Bearer Token Accepts the old bearer token and returns a new bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
244
+
/// </summary>
245
+
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
246
+
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
/// Refresh Bearer Token Accepts the old bearer token and returns a new bearer token that can be used to authenticate other endpoint. You can find the tutorial on using the disposable bearer token [here](https://docs.api.video/reference/disposable-bearer-token-authentication).
0 commit comments