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: docs/AuthenticationApi.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,7 +354,7 @@ This endpoint does not need any parameter.
354
354
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
355
355
356
356
# **verify2_fa**
357
-
> InlineResponse2001 verify2_fa()
357
+
> Verify2FAResult verify2_fa()
358
358
359
359
Verify 2FA code
360
360
@@ -368,9 +368,9 @@ Finishes the login sequence with a normal 2FA-generated code for accounts with 2
368
368
import time
369
369
import vrchatapi
370
370
from vrchatapi.api import authentication_api
371
-
from vrchatapi.model.inline_object import InlineObject
371
+
from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode
372
+
from vrchatapi.model.verify2_fa_result import Verify2FAResult
372
373
from vrchatapi.model.error import Error
373
-
from vrchatapi.model.inline_response2001 import InlineResponse2001
374
374
from pprint import pprint
375
375
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
376
376
# See configuration.py for a list of all supported configuration parameters.
@@ -438,7 +438,7 @@ Name | Type | Description | Notes
438
438
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
439
439
440
440
# **verify_auth_token**
441
-
> InlineResponse200 verify_auth_token()
441
+
> VerifyAuthTokenResult verify_auth_token()
442
442
443
443
Verify Auth Token
444
444
@@ -452,7 +452,7 @@ Verify whether the currently provided Auth Token is valid.
452
452
import time
453
453
import vrchatapi
454
454
from vrchatapi.api import authentication_api
455
-
from vrchatapi.model.inline_response200importInlineResponse200
455
+
from vrchatapi.model.verify_auth_token_resultimportVerifyAuthTokenResult
456
456
from vrchatapi.model.error import Error
457
457
from pprint import pprint
458
458
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
@@ -492,7 +492,7 @@ This endpoint does not need any parameter.
@@ -508,13 +508,13 @@ This endpoint does not need any parameter.
508
508
509
509
| Status code | Description | Response headers |
510
510
|-------------|-------------|------------------|
511
-
**200** | OK | - |
511
+
**200** | Returns wether a provided auth token is valid or not. | - |
512
512
**401** | Error response due to missing apiKey or auth cookie. | - |
513
513
514
514
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
515
515
516
516
# **verify_recovery_code**
517
-
> InlineResponse2001 verify_recovery_code()
517
+
> Verify2FAResult verify_recovery_code()
518
518
519
519
Verify 2FA code with Recovery code
520
520
@@ -528,9 +528,9 @@ Finishes the login sequence with an OTP (One Time Password) recovery code for ac
528
528
import time
529
529
import vrchatapi
530
530
from vrchatapi.api import authentication_api
531
-
from vrchatapi.model.inline_object1 import InlineObject1
531
+
from vrchatapi.model.two_factor_auth_code import TwoFactorAuthCode
532
+
from vrchatapi.model.verify2_fa_result import Verify2FAResult
532
533
from vrchatapi.model.error import Error
533
-
from vrchatapi.model.inline_response2001 import InlineResponse2001
534
534
from pprint import pprint
535
535
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
536
536
# See configuration.py for a list of all supported configuration parameters.
0 commit comments