@@ -151,6 +151,11 @@ declare module PlayFabAdminModule {
151151 * https://api.playfab.com/Documentation/Admin/method/GetMatchmakerGameModes
152152 */
153153 GetMatchmakerGameModes ( request : PlayFabAdminModels . GetMatchmakerGameModesRequest , callback : PlayFabModule . ApiCallback < PlayFabAdminModels . GetMatchmakerGameModesResult > , customData ?: any , extraHeaders ?: { [ key : string ] : string } ) : void ;
154+ /**
155+ * Gets a player's ID from an auth token.
156+ * https://api.playfab.com/Documentation/Admin/method/GetPlayerIdFromAuthToken
157+ */
158+ GetPlayerIdFromAuthToken ( request : PlayFabAdminModels . GetPlayerIdFromAuthTokenRequest , callback : PlayFabModule . ApiCallback < PlayFabAdminModels . GetPlayerIdFromAuthTokenResult > , customData ?: any , extraHeaders ?: { [ key : string ] : string } ) : void ;
154159 /**
155160 * List all segments that a player currently belongs to at this moment in time.
156161 * https://api.playfab.com/Documentation/Admin/method/GetPlayerSegments
@@ -337,6 +342,11 @@ declare module PlayFabAdminModule {
337342 * https://api.playfab.com/Documentation/Admin/method/ResetCharacterStatistics
338343 */
339344 ResetCharacterStatistics ( request : PlayFabAdminModels . ResetCharacterStatisticsRequest , callback : PlayFabModule . ApiCallback < PlayFabAdminModels . ResetCharacterStatisticsResult > , customData ?: any , extraHeaders ?: { [ key : string ] : string } ) : void ;
345+ /**
346+ * Reset a player's password for a given title.
347+ * https://api.playfab.com/Documentation/Admin/method/ResetPassword
348+ */
349+ ResetPassword ( request : PlayFabAdminModels . ResetPasswordRequest , callback : PlayFabModule . ApiCallback < PlayFabAdminModels . ResetPasswordResult > , customData ?: any , extraHeaders ?: { [ key : string ] : string } ) : void ;
340350 /**
341351 * Completely removes all statistics for the specified user, for the current game
342352 * https://api.playfab.com/Documentation/Admin/method/ResetUserStatistics
@@ -690,6 +700,8 @@ declare module PlayFabAdminModels {
690700
691701 }
692702
703+ type AuthTokenType = "Email"
704+
693705 /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.BanInfo */
694706 export interface BanInfo {
695707 /** The active state of this ban. Expired bans may still have this value set to true but they will have no effect. */
@@ -1772,6 +1784,22 @@ declare module PlayFabAdminModels {
17721784
17731785 }
17741786
1787+ /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenRequest */
1788+ export interface GetPlayerIdFromAuthTokenRequest extends PlayFabModule . IPlayFabRequestCommon {
1789+ /** The auth token of the player requesting the password reset. */
1790+ Token : string ;
1791+ /** The type of auth token of the player requesting the password reset. */
1792+ TokenType : string ;
1793+
1794+ }
1795+
1796+ /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerIdFromAuthTokenResult */
1797+ export interface GetPlayerIdFromAuthTokenResult extends PlayFabModule . IPlayFabResultCommon {
1798+ /** The player ID from the token passed in */
1799+ PlayFabId ?: string ;
1800+
1801+ }
1802+
17751803 /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.GetPlayerProfileRequest */
17761804 export interface GetPlayerProfileRequest extends PlayFabModule . IPlayFabRequestCommon {
17771805 /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
@@ -2833,6 +2861,20 @@ declare module PlayFabAdminModels {
28332861
28342862 }
28352863
2864+ /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordRequest */
2865+ export interface ResetPasswordRequest extends PlayFabModule . IPlayFabRequestCommon {
2866+ /** The new password for the player. */
2867+ Password : string ;
2868+ /** The token of the player requesting the password reset. */
2869+ Token : string ;
2870+
2871+ }
2872+
2873+ /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetPasswordResult */
2874+ export interface ResetPasswordResult extends PlayFabModule . IPlayFabResultCommon {
2875+
2876+ }
2877+
28362878 /** https://api.playfab.com/Documentation/Client/datatype/PlayFab.Admin.Models/PlayFab.Admin.Models.ResetUserStatisticsRequest */
28372879 export interface ResetUserStatisticsRequest extends PlayFabModule . IPlayFabRequestCommon {
28382880 /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
0 commit comments