Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Specification


Apiary
Status
titlepost
mithril/api/apps
Scopeapp:authorize

Purpose

 An 2FA feature implementation  WS authorize-an-approval suppose token with right scopes list at token in HEADER (example: -H 'authorization: Bearer b3IxNTBBZXR6VWg3MHdYNEFoL3ZUUT09' ).

It means the following (see details in specs for WS: Create Token).

token_typescopes in token.details
authorizationaccess_codetoken

"scope": "app:authorize"

2fa_access_token

"scope": ""