u-Slicer Knowledge Base : General Methods

Receiving an access_token

  • Description:
    • Generates an access_token based on the provided username and password. See example.
  • URL:
    • https://uauth.iponweb.com/oauth2/token/
  • URL arguments:
    • none
  • POST arguments:
    • grant_type: authorization type. Possible values: password
    • username: username to login with
    • password: password for the specified username
    • scope: the service for which the generated access_token can be used. Possible values: service_id=uslicer.iponweb.com, service_id=upredict.iponweb.com
  • Output:
    • token_type: the type of the generated access_token. Possible values: Bearer
    • scope: the service for which the generated access_token can be used. Possible values: service_id=uslicer.iponweb.com, service_id=upredict.iponweb.com
    • access_token: generated access_token
    • expires_in: access_token validity period. Possible values: 3600 seconds


Receiving a permanent access_token via UI

  • Description:
    • Generates a permanent access_token for u-Slicer via UI.

To generate a permanent access_token for u-Slicer via UI:

  • Open the https://uauth.iponweb.com/ link in your browser and authorize if it's necessary. The following dialog box is displayed:

  • Click the Tokens and sessions button.

  • Click the TOKENS link on the top navigation panel.

  • Click the New permanent token button in the appeared dialog box with the list of available tokens. This list is empty, if you are creating your first token.

  • Enter token Name and Scope (uslicer.iponweb.com) in the appeared New token creation dialog box.

  • Click the Add button. The entered Scope is added to the list of Scopes.


  • You can use any Name. Use uslicer.iponweb.com Scope for u-Slicer and upredict.iponweb.com Scope for u-Predict.
  • Click the Create button.
  • If entered Scopes are correct, the new token is created and displayed.


  • Click the Copy token value button and save your token in a separate file.
  • Click the Done button to finish the operation.


  • See your new token in the list.


Revoking a permanent access_token via UI

You can revoke your permanent access token at any time.

To revoke a permanent access token:

  • Open the https://uauth.iponweb.com/ link in your browser and authorize if it's necessary. The following dialog box is displayed:

  • Click the Tokens and sessions button.

  • Click the TOKENS link on the top navigation panel.

  • Click the revoke button.

  • Click OK to confirm the revoking operation.

  • See that the token is revoked.
Back to Top

Attachments:

[Permanent_Token_1.png (image/png)
Permanent_Token_2.png (image/png)
Permanent_Token_1.png (image/png)
Permanent_Token_3.png (image/png)
Permanent_Token_3.png (image/png)
Permanent_Token_4.png (image/png)
Permanent_Token_6.png (image/png)
Permanent_Token_7.png (image/png)
Permanent_Token_5.png (image/png)
image2020-4-22_14-40-10.png (image/png)
image2020-4-22_14-44-40.png (image/png)
image2020-4-22_14-45-47.png (image/png)
image2020-4-22_14-45-55.png (image/png)
image2020-4-22_14-48-23.png (image/png)
image2020-4-22_14-50-40.png (image/png)
image2020-4-22_14-53-8.png (image/png)
image2020-4-22_14-56-24.png (image/png)
image2020-4-22_14-58-50.png (image/png)
image2020-4-22_15-0-46.png (image/png)
image2020-4-22_15-3-30.png (image/png)
image2020-4-22_15-6-19.png (image/png)
image2020-4-22_15-8-59.png (image/png)
Oauth2_token_1.png (image/png)
image2020-4-22_15-36-21.png (image/png)
image2020-4-22_15-37-13.png (image/png)
image2020-4-22_15-43-53.png (image/png)
image2020-4-22_15-46-45.png (image/png)
image2020-4-22_15-50-4.png (image/png)
image2020-4-22_15-52-4.png (image/png)
image2020-4-22_15-57-53.png (image/png)
image2020-4-22_16-8-38.png (image/png)
image2020-4-22_16-10-5.png (image/png)
image2020-4-22_16-10-31.png (image/png)
image2020-7-9_11-49-6.png (image/png)
image2020-7-9_11-52-13.png (image/png)
image2020-7-9_11-54-24.png (image/png)
image2020-7-9_12-1-15.png (image/png)
image2020-7-9_12-4-44.png (image/png)
image2020-7-9_12-6-55.png (image/png)
image2020-7-9_12-8-49.png (image/png)