@openfort/openfort-js 0.4.6 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +28 -59
  2. package/dist/{utils → clients}/iframe-client.d.ts +2 -1
  3. package/dist/{utils → clients}/iframe-client.js +39 -10
  4. package/dist/clients/iframe-client.js.map +1 -0
  5. package/dist/{key-pair.d.ts → crypto/key-pair.d.ts} +3 -11
  6. package/dist/{key-pair.js → crypto/key-pair.js} +5 -18
  7. package/dist/crypto/key-pair.js.map +1 -0
  8. package/dist/generated/api.d.ts +160 -67
  9. package/dist/generated/api.js +251 -116
  10. package/dist/generated/api.js.map +1 -1
  11. package/dist/index.d.ts +2 -5
  12. package/dist/index.js +4 -5
  13. package/dist/index.js.map +1 -1
  14. package/dist/openfort.d.ts +27 -8
  15. package/dist/openfort.js +153 -18
  16. package/dist/openfort.js.map +1 -1
  17. package/dist/openfortAuth.d.ts +15 -2
  18. package/dist/openfortAuth.js +50 -4
  19. package/dist/openfortAuth.js.map +1 -1
  20. package/dist/recovery/passwordRecovery.d.ts +6 -0
  21. package/dist/recovery/passwordRecovery.js +13 -0
  22. package/dist/recovery/passwordRecovery.js.map +1 -0
  23. package/dist/recovery/recovery.d.ts +3 -0
  24. package/dist/{storage/base-storage.js → recovery/recovery.js} +1 -1
  25. package/dist/recovery/recovery.js.map +1 -0
  26. package/dist/signer/embedded.signer.d.ts +20 -6
  27. package/dist/signer/embedded.signer.js +42 -9
  28. package/dist/signer/embedded.signer.js.map +1 -1
  29. package/dist/signer/session.signer.d.ts +12 -4
  30. package/dist/signer/session.signer.js +35 -7
  31. package/dist/signer/session.signer.js.map +1 -1
  32. package/dist/signer/signer.d.ts +9 -1
  33. package/dist/signer/signer.js +6 -0
  34. package/dist/signer/signer.js.map +1 -1
  35. package/dist/storage/local-storage.d.ts +6 -13
  36. package/dist/storage/local-storage.js +9 -18
  37. package/dist/storage/local-storage.js.map +1 -1
  38. package/dist/storage/storage.d.ts +9 -0
  39. package/dist/storage/storage.js +8 -0
  40. package/dist/storage/storage.js.map +1 -0
  41. package/dist/version.d.ts +1 -1
  42. package/dist/version.js +1 -1
  43. package/package.json +1 -1
  44. package/tsconfig.tsbuildinfo +1 -1
  45. package/dist/key-pair.js.map +0 -1
  46. package/dist/storage/base-storage.d.ts +0 -6
  47. package/dist/storage/base-storage.js.map +0 -1
  48. package/dist/storage/storage-keys.d.ts +0 -4
  49. package/dist/storage/storage-keys.js +0 -9
  50. package/dist/storage/storage-keys.js.map +0 -1
  51. package/dist/utils/iframe-client.js.map +0 -1
@@ -2253,6 +2253,25 @@ export interface DeployRequest {
2253
2253
  */
2254
2254
  'policy': string;
2255
2255
  }
2256
+ /**
2257
+ *
2258
+ * @export
2259
+ * @interface DeprecatedAuthenticatedPlayerResponse
2260
+ */
2261
+ export interface DeprecatedAuthenticatedPlayerResponse {
2262
+ /**
2263
+ * Player\'s identifier.
2264
+ * @type {string}
2265
+ * @memberof DeprecatedAuthenticatedPlayerResponse
2266
+ */
2267
+ 'playerId': string;
2268
+ /**
2269
+ * JWT access token.
2270
+ * @type {string}
2271
+ * @memberof DeprecatedAuthenticatedPlayerResponse
2272
+ */
2273
+ 'token': string;
2274
+ }
2256
2275
  /**
2257
2276
  *
2258
2277
  * @export
@@ -8535,6 +8554,32 @@ export declare const AdminAuthenticationApiAxiosParamCreator: (configuration?: C
8535
8554
  * @throws {RequiredError}
8536
8555
  */
8537
8556
  listOAuthConfig: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8557
+ /**
8558
+ * Verifies the token generated by Openfort Auth.
8559
+ * @summary Verify auth token.
8560
+ * @param {string} token Specifies the auth token.
8561
+ * @param {*} [options] Override http request option.
8562
+ * @throws {RequiredError}
8563
+ */
8564
+ verifyAuthToken: (token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8565
+ /**
8566
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8567
+ * @summary Retrieve player by token.
8568
+ * @param {OAuthProvider} provider OAuth provider
8569
+ * @param {OAuthRequest} oAuthRequest
8570
+ * @param {*} [options] Override http request option.
8571
+ * @deprecated
8572
+ * @throws {RequiredError}
8573
+ */
8574
+ verifyOAuth: (provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8575
+ /**
8576
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8577
+ * @summary Retrieve player by oauth token.
8578
+ * @param {AuthenticateOAuthRequest} authenticateOAuthRequest
8579
+ * @param {*} [options] Override http request option.
8580
+ * @throws {RequiredError}
8581
+ */
8582
+ verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8538
8583
  };
8539
8584
  /**
8540
8585
  * AdminAuthenticationApi - functional programming interface
@@ -8556,7 +8601,7 @@ export declare const AdminAuthenticationApiFp: (configuration?: Configuration) =
8556
8601
  * @param {*} [options] Override http request option.
8557
8602
  * @throws {RequiredError}
8558
8603
  */
8559
- deleteAuthPlayer(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerDeleteResponse>>;
8604
+ deleteAuthPlayer(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthPlayerResponse>>;
8560
8605
  /**
8561
8606
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
8562
8607
  * @summary Delete oauth configuration.
@@ -8591,6 +8636,32 @@ export declare const AdminAuthenticationApiFp: (configuration?: Configuration) =
8591
8636
  * @throws {RequiredError}
8592
8637
  */
8593
8638
  listOAuthConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfigListResponse>>;
8639
+ /**
8640
+ * Verifies the token generated by Openfort Auth.
8641
+ * @summary Verify auth token.
8642
+ * @param {string} token Specifies the auth token.
8643
+ * @param {*} [options] Override http request option.
8644
+ * @throws {RequiredError}
8645
+ */
8646
+ verifyAuthToken(token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSessionResponse>>;
8647
+ /**
8648
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8649
+ * @summary Retrieve player by token.
8650
+ * @param {OAuthProvider} provider OAuth provider
8651
+ * @param {OAuthRequest} oAuthRequest
8652
+ * @param {*} [options] Override http request option.
8653
+ * @deprecated
8654
+ * @throws {RequiredError}
8655
+ */
8656
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8657
+ /**
8658
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8659
+ * @summary Retrieve player by oauth token.
8660
+ * @param {AuthenticateOAuthRequest} authenticateOAuthRequest
8661
+ * @param {*} [options] Override http request option.
8662
+ * @throws {RequiredError}
8663
+ */
8664
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8594
8665
  };
8595
8666
  /**
8596
8667
  * AdminAuthenticationApi - factory interface
@@ -8612,7 +8683,7 @@ export declare const AdminAuthenticationApiFactory: (configuration?: Configurati
8612
8683
  * @param {*} [options] Override http request option.
8613
8684
  * @throws {RequiredError}
8614
8685
  */
8615
- deleteAuthPlayer(id: string, options?: any): AxiosPromise<PlayerDeleteResponse>;
8686
+ deleteAuthPlayer(id: string, options?: any): AxiosPromise<AuthPlayerResponse>;
8616
8687
  /**
8617
8688
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
8618
8689
  * @summary Delete oauth configuration.
@@ -8647,6 +8718,32 @@ export declare const AdminAuthenticationApiFactory: (configuration?: Configurati
8647
8718
  * @throws {RequiredError}
8648
8719
  */
8649
8720
  listOAuthConfig(options?: any): AxiosPromise<OAuthConfigListResponse>;
8721
+ /**
8722
+ * Verifies the token generated by Openfort Auth.
8723
+ * @summary Verify auth token.
8724
+ * @param {string} token Specifies the auth token.
8725
+ * @param {*} [options] Override http request option.
8726
+ * @throws {RequiredError}
8727
+ */
8728
+ verifyAuthToken(token: string, options?: any): AxiosPromise<AuthSessionResponse>;
8729
+ /**
8730
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8731
+ * @summary Retrieve player by token.
8732
+ * @param {OAuthProvider} provider OAuth provider
8733
+ * @param {OAuthRequest} oAuthRequest
8734
+ * @param {*} [options] Override http request option.
8735
+ * @deprecated
8736
+ * @throws {RequiredError}
8737
+ */
8738
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
8739
+ /**
8740
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8741
+ * @summary Retrieve player by oauth token.
8742
+ * @param {AuthenticateOAuthRequest} authenticateOAuthRequest
8743
+ * @param {*} [options] Override http request option.
8744
+ * @throws {RequiredError}
8745
+ */
8746
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
8650
8747
  };
8651
8748
  /**
8652
8749
  * AdminAuthenticationApi - object-oriented interface
@@ -8672,7 +8769,7 @@ export declare class AdminAuthenticationApi extends BaseAPI {
8672
8769
  * @throws {RequiredError}
8673
8770
  * @memberof AdminAuthenticationApi
8674
8771
  */
8675
- deleteAuthPlayer(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerDeleteResponse, any>>;
8772
+ deleteAuthPlayer(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthPlayerResponse, any>>;
8676
8773
  /**
8677
8774
  * The endpoint deletes oauth configuration for specified provider for the current project environment.
8678
8775
  * @summary Delete oauth configuration.
@@ -8711,6 +8808,35 @@ export declare class AdminAuthenticationApi extends BaseAPI {
8711
8808
  * @memberof AdminAuthenticationApi
8712
8809
  */
8713
8810
  listOAuthConfig(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfigListResponse, any>>;
8811
+ /**
8812
+ * Verifies the token generated by Openfort Auth.
8813
+ * @summary Verify auth token.
8814
+ * @param {string} token Specifies the auth token.
8815
+ * @param {*} [options] Override http request option.
8816
+ * @throws {RequiredError}
8817
+ * @memberof AdminAuthenticationApi
8818
+ */
8819
+ verifyAuthToken(token: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSessionResponse, any>>;
8820
+ /**
8821
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8822
+ * @summary Retrieve player by token.
8823
+ * @param {OAuthProvider} provider OAuth provider
8824
+ * @param {OAuthRequest} oAuthRequest
8825
+ * @param {*} [options] Override http request option.
8826
+ * @deprecated
8827
+ * @throws {RequiredError}
8828
+ * @memberof AdminAuthenticationApi
8829
+ */
8830
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
8831
+ /**
8832
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8833
+ * @summary Retrieve player by oauth token.
8834
+ * @param {AuthenticateOAuthRequest} authenticateOAuthRequest
8835
+ * @param {*} [options] Override http request option.
8836
+ * @throws {RequiredError}
8837
+ * @memberof AdminAuthenticationApi
8838
+ */
8839
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
8714
8840
  }
8715
8841
  /**
8716
8842
  * AuthenticationApi - axios parameter creator
@@ -8824,13 +8950,15 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
8824
8950
  */
8825
8951
  unlinkSIWE: (sIWERequest: SIWERequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8826
8952
  /**
8827
- * Verifies the token generated by Openfort Auth.
8828
- * @summary Verify auth token.
8829
- * @param {string} token Specifies the auth token.
8953
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8954
+ * @summary Retrieve player by token.
8955
+ * @param {OAuthProvider} provider OAuth provider
8956
+ * @param {OAuthRequest} oAuthRequest
8830
8957
  * @param {*} [options] Override http request option.
8958
+ * @deprecated
8831
8959
  * @throws {RequiredError}
8832
8960
  */
8833
- verifyAuthToken: (token: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8961
+ verifyOAuth: (provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8834
8962
  /**
8835
8963
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8836
8964
  * @summary Retrieve player by oauth token.
@@ -8838,17 +8966,7 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
8838
8966
  * @param {*} [options] Override http request option.
8839
8967
  * @throws {RequiredError}
8840
8968
  */
8841
- verifyOAuth: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8842
- /**
8843
- * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8844
- * @summary Retrieve player by token.
8845
- * @param {OAuthProvider} provider OAuth provider
8846
- * @param {OAuthRequest} oAuthRequest
8847
- * @param {*} [options] Override http request option.
8848
- * @deprecated
8849
- * @throws {RequiredError}
8850
- */
8851
- verifyOAuthToken: (provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8969
+ verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8852
8970
  };
8853
8971
  /**
8854
8972
  * AuthenticationApi - functional programming interface
@@ -8880,7 +8998,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
8880
8998
  * @deprecated
8881
8999
  * @throws {RequiredError}
8882
9000
  */
8883
- authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponse>>;
9001
+ authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeprecatedAuthenticatedPlayerResponse>>;
8884
9002
  /**
8885
9003
  * Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
8886
9004
  * @summary Get the jwks.json file.
@@ -8962,13 +9080,15 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
8962
9080
  */
8963
9081
  unlinkSIWE(sIWERequest: SIWERequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthPlayerResponse>>;
8964
9082
  /**
8965
- * Verifies the token generated by Openfort Auth.
8966
- * @summary Verify auth token.
8967
- * @param {string} token Specifies the auth token.
9083
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9084
+ * @summary Retrieve player by token.
9085
+ * @param {OAuthProvider} provider OAuth provider
9086
+ * @param {OAuthRequest} oAuthRequest
8968
9087
  * @param {*} [options] Override http request option.
9088
+ * @deprecated
8969
9089
  * @throws {RequiredError}
8970
9090
  */
8971
- verifyAuthToken(token: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthSessionResponse>>;
9091
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8972
9092
  /**
8973
9093
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8974
9094
  * @summary Retrieve player by oauth token.
@@ -8976,17 +9096,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
8976
9096
  * @param {*} [options] Override http request option.
8977
9097
  * @throws {RequiredError}
8978
9098
  */
8979
- verifyOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8980
- /**
8981
- * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
8982
- * @summary Retrieve player by token.
8983
- * @param {OAuthProvider} provider OAuth provider
8984
- * @param {OAuthRequest} oAuthRequest
8985
- * @param {*} [options] Override http request option.
8986
- * @deprecated
8987
- * @throws {RequiredError}
8988
- */
8989
- verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
9099
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
8990
9100
  };
8991
9101
  /**
8992
9102
  * AuthenticationApi - factory interface
@@ -9018,7 +9128,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
9018
9128
  * @deprecated
9019
9129
  * @throws {RequiredError}
9020
9130
  */
9021
- authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: any): AxiosPromise<AuthResponse>;
9131
+ authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: any): AxiosPromise<DeprecatedAuthenticatedPlayerResponse>;
9022
9132
  /**
9023
9133
  * Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
9024
9134
  * @summary Get the jwks.json file.
@@ -9100,13 +9210,15 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
9100
9210
  */
9101
9211
  unlinkSIWE(sIWERequest: SIWERequest, options?: any): AxiosPromise<AuthPlayerResponse>;
9102
9212
  /**
9103
- * Verifies the token generated by Openfort Auth.
9104
- * @summary Verify auth token.
9105
- * @param {string} token Specifies the auth token.
9213
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9214
+ * @summary Retrieve player by token.
9215
+ * @param {OAuthProvider} provider OAuth provider
9216
+ * @param {OAuthRequest} oAuthRequest
9106
9217
  * @param {*} [options] Override http request option.
9218
+ * @deprecated
9107
9219
  * @throws {RequiredError}
9108
9220
  */
9109
- verifyAuthToken(token: string, options?: any): AxiosPromise<AuthSessionResponse>;
9221
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
9110
9222
  /**
9111
9223
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9112
9224
  * @summary Retrieve player by oauth token.
@@ -9114,17 +9226,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
9114
9226
  * @param {*} [options] Override http request option.
9115
9227
  * @throws {RequiredError}
9116
9228
  */
9117
- verifyOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
9118
- /**
9119
- * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9120
- * @summary Retrieve player by token.
9121
- * @param {OAuthProvider} provider OAuth provider
9122
- * @param {OAuthRequest} oAuthRequest
9123
- * @param {*} [options] Override http request option.
9124
- * @deprecated
9125
- * @throws {RequiredError}
9126
- */
9127
- verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
9229
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: any): AxiosPromise<PlayerResponse>;
9128
9230
  };
9129
9231
  /**
9130
9232
  * AuthenticationApi - object-oriented interface
@@ -9161,7 +9263,7 @@ export declare class AuthenticationApi extends BaseAPI {
9161
9263
  * @throws {RequiredError}
9162
9264
  * @memberof AuthenticationApi
9163
9265
  */
9164
- authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResponse, any>>;
9266
+ authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeprecatedAuthenticatedPlayerResponse, any>>;
9165
9267
  /**
9166
9268
  * Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
9167
9269
  * @summary Get the jwks.json file.
@@ -9253,14 +9355,16 @@ export declare class AuthenticationApi extends BaseAPI {
9253
9355
  */
9254
9356
  unlinkSIWE(sIWERequest: SIWERequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthPlayerResponse, any>>;
9255
9357
  /**
9256
- * Verifies the token generated by Openfort Auth.
9257
- * @summary Verify auth token.
9258
- * @param {string} token Specifies the auth token.
9358
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9359
+ * @summary Retrieve player by token.
9360
+ * @param {OAuthProvider} provider OAuth provider
9361
+ * @param {OAuthRequest} oAuthRequest
9259
9362
  * @param {*} [options] Override http request option.
9363
+ * @deprecated
9260
9364
  * @throws {RequiredError}
9261
9365
  * @memberof AuthenticationApi
9262
9366
  */
9263
- verifyAuthToken(token: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthSessionResponse, any>>;
9367
+ verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
9264
9368
  /**
9265
9369
  * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9266
9370
  * @summary Retrieve player by oauth token.
@@ -9269,18 +9373,7 @@ export declare class AuthenticationApi extends BaseAPI {
9269
9373
  * @throws {RequiredError}
9270
9374
  * @memberof AuthenticationApi
9271
9375
  */
9272
- verifyOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
9273
- /**
9274
- * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
9275
- * @summary Retrieve player by token.
9276
- * @param {OAuthProvider} provider OAuth provider
9277
- * @param {OAuthRequest} oAuthRequest
9278
- * @param {*} [options] Override http request option.
9279
- * @deprecated
9280
- * @throws {RequiredError}
9281
- * @memberof AuthenticationApi
9282
- */
9283
- verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
9376
+ verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
9284
9377
  }
9285
9378
  /**
9286
9379
  * ContractsApi - axios parameter creator