Changes between Version 4 and Version 5 of Ru:Help/Dialog/OAuthAuthorisationWizard
- Timestamp:
- 2017-11-15T12:01:41+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ru:Help/Dialog/OAuthAuthorisationWizard
v4 v5 32 32 * маркер действует лишь в течение определённого периода времени, например, только сегодня (но это пока не поддерживается сервером OSM) 33 33 34 In addition to username/password pairs, the OSM server also accepts OAuth Access Tokens to authenticate and authorise a user. More specifically, it accepts requests ''signed with such a token'', but this is beyond of the scope of this online help.34 В дополнение к парам имя пользователя/пароль, сервер OSM принимает также маркеры доступа OAuth для аутентификации и авторизации пользователей. Точнее, он принимает запросы ''подписанные этими маркерами'', но эти тонкости уже выходят за пределы данной онлайн-справки. 35 35 36 The OAuth Authorisation Wizard allows you to receive a valid OAuth Access Token, provided that you have an OSM username and OSM password, or to enter and use an OAuth Access Token in JOSM, provided that you got one from somebody else who has an OSM username and an OSM password.36 Мастер авторизации OAuth позволяет вам получить действующий маркер доступа OAuth, указав своё имя пользователя и пароль OSM, или же ввести и использовать маркер доступа, предоставленный вам кем-то ещё, кто имеет имя пользователя и пароль OSM. 37 37 38 === Fully automatic authorisation process===#FullyAutomaticAuthorisation39 The easiest way to get an Access Token is to let JOSM fully automatically retrieve one from the OSM server.38 === Полностью автоматический процесс авторизации ===#FullyAutomaticAuthorisation 39 Самый простой способ получения маркера доступа — позволить JOSM автоматически получить его с сервера OSM. 40 40 41 1. ''' Step 1/3''' - Open the preferences dialog41 1. '''Шаг 1/3''' - откройте диалоговое окно настроек 42 42 43 Click on the '''Preferences''' button in the toolbar. In the dialog, select the [wiki:Help/Preferences/Connection Connection Setting] tab.43 Щёлкните на кнопке '''Открыть диалог настроек''' в панели инструментов. Выберите вкладку [wiki:Ru:Help/Preferences/Connection Параметры соединения]. 44 44 45 2. ''' Step 2/3''' - Get the Access Token45 2. '''Шаг 2/3''' - получите маркер доступа 46 46 47 Enter your OSM username and your OSM password and click on '''Authorise now'''.47 Введите своё имя пользователя и пароль OSM и нажмите '''Авторизоваться'''. 48 48 49 [[Image( fully-authomatic-1.png)]]49 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:fully-authomatic-1.png)]] 50 50 51 3. '''Step 3/3''' - Accept the Access Token51 3. '''Step 3/3''' - примите маркер доступа 52 52 53 JOSM displays the retrieved Access Token.53 JOSM покажет полученный маркер доступа. 54 54 55 [[Image( fully-authomatic-2.png)]]55 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:fully-authomatic-2.png)]] 56 56 57 * Deselect the checkbox Save to preferences if you don't want to save the Access Token in the JOSM preferences. If you don't save it the Access Token will be lost when you close JOSM. If you later startup JOSM again you will have to retrieve a new Access Token to work with OAuth based authentication again.58 * Click on ''Test Access Token" to test the token59 * Click on '''Accept Access Token''' to accept it.57 * Снимите флажок «Сохранить маркер доступа в настройках», если не хотите сохранять его в настройках JOSM. Если маркер доступа не сохранён, он будет утерян при закрытии JOSM. При следующем запуске JOSM вам придётся получать новый маркер доступа. 58 * Нажмите ''Тест маркера доступа", чтобы проверить маркер 59 * Нажмите '''Принять маркер доступа''', чтобы принять его. 60 60 61 61 ==== Restricting the granted privileges ==== … … 72 72 1. Deselect each privilege which should not be granted to the requested Access Token 73 73 74 [[Image( fully-authomatic-privileges.png)]]74 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:fully-authomatic-privileges.png)]] 75 75 76 76 ==== Advanced OAuth parameters ==== #FullyAutomaticAdvanced … … 85 85 1. Enter your values for the five OAuth parameters 86 86 87 [[Image( fully-automatic-advanced.png)]]87 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:fully-automatic-advanced.png)]] 88 88 89 89 === Semi-automatic authorisation process ===#Semi-automaticauthorisationprocess … … 95 95 Click on '''Retrieve Request Token''' to retrieve an OAuth Request Token. 96 96 97 [[Image( semi-automatic-step-1.png)]]97 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:semi-automatic-step-1.png)]] 98 98 99 99 2. '''Step 2/3''' - Authorise the Request Token in an external browser … … 101 101 JOSM now launches an external browser with the OSM website. Please login and follow the instructions. Then switch back to the OAuth Authorisation Wizard and click on '''Retrieve Access Token'''. 102 102 103 [[Image( semi-automatic-step-2.png)]]103 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:semi-automatic-step-2.png)]] 104 104 105 105 3. '''Step 3/3''' - Accept the Access Token … … 107 107 JOSM displays the retrieved Access Token. Click on '''Accept Access Token''' to accept it. 108 108 109 [[Image( semi-automatic-step-3.png)]]109 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:semi-automatic-step-3.png)]] 110 110 111 111 … … 120 120 1. Enter your values for the five OAuth parameters 121 121 122 [[Image( semi-automatic-advanced.png)]]122 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:semi-automatic-advanced.png)]] 123 123 124 124 === Manual authorisation process === … … 132 132 Enter the Access Token and click on '''Accept Access Token'''. 133 133 134 [[Image( manual.png)]]134 [[Image(wiki:Help/Dialog/OAuthAuthorisationWizard:manual.png)]] 135 135 136 136