2016-01-21 02:44:29 +05:30
|
|
|
<?php
|
2016-09-21 13:43:43 +05:30
|
|
|
/**
|
|
|
|
* @var array $params
|
|
|
|
*/
|
2016-01-21 02:44:29 +05:30
|
|
|
return [
|
2016-05-16 13:51:12 +05:30
|
|
|
'/accounts/change-email/initialize' => 'accounts/change-email-initialize',
|
|
|
|
'/accounts/change-email/submit-new-email' => 'accounts/change-email-submit-new-email',
|
|
|
|
'/accounts/change-email/confirm-new-email' => 'accounts/change-email-confirm-new-email',
|
2016-07-27 03:41:13 +05:30
|
|
|
|
2017-01-21 04:58:26 +05:30
|
|
|
'POST /two-factor-auth' => 'two-factor-auth/activate',
|
|
|
|
'DELETE /two-factor-auth' => 'two-factor-auth/disable',
|
|
|
|
|
2016-07-27 03:41:13 +05:30
|
|
|
'/oauth2/v1/<action>' => 'oauth/<action>',
|
2016-08-06 19:06:24 +05:30
|
|
|
|
|
|
|
'/account/v1/info' => 'identity-info/index',
|
2016-09-07 20:26:30 +05:30
|
|
|
|
|
|
|
'/minecraft/session/join' => 'session/session/join',
|
|
|
|
'/minecraft/session/legacy/join' => 'session/session/join-legacy',
|
|
|
|
'/minecraft/session/hasJoined' => 'session/session/has-joined',
|
|
|
|
'/minecraft/session/legacy/hasJoined' => 'session/session/has-joined-legacy',
|
2016-09-08 15:37:43 +05:30
|
|
|
'/minecraft/session/profile/<uuid>' => 'session/session/profile',
|
2016-09-21 13:43:43 +05:30
|
|
|
|
|
|
|
'/mojang/profiles/<username>' => 'mojang/api/uuid-by-username',
|
|
|
|
'/mojang/profiles/<uuid>/names' => 'mojang/api/usernames-by-uuid',
|
|
|
|
'POST /mojang/profiles' => 'mojang/api/uuids-by-usernames',
|
|
|
|
|
2016-10-07 20:18:57 +05:30
|
|
|
"<protocol:http|https>://{$params['authserverHost']}/mojang/api/users/profiles/minecraft/<username>" => 'mojang/api/uuid-by-username',
|
|
|
|
"<protocol:http|https>://{$params['authserverHost']}/mojang/api/user/profiles/<uuid>/names" => 'mojang/api/usernames-by-uuid',
|
|
|
|
"POST <protocol:http|https>://{$params['authserverHost']}/mojang/api/profiles/minecraft" => 'mojang/api/uuids-by-usernames',
|
2016-01-21 02:44:29 +05:30
|
|
|
];
|