-
Notifications
You must be signed in to change notification settings - Fork 22
/
page_api_oauth2.txt
24 lines (15 loc) · 1.1 KB
/
page_api_oauth2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{capture assign="page_title"}OAuth2 | API{/capture}
{include file="inc_head.txt"}
<div class="container">
{include file="inc_api_header.txt" title="OAuth2"}
<div class="api-sect">
<p>We require <a href="http://tools.ietf.org/html/rfc6749#section-4.2">OAuth (version 2) access tokens</a> to monitor and limit access to the API. OAuth2 access tokens are granted limited, specific permissions that allow applications to act on your behalf. They are:</p>
</div>
{include file="inc_api_oauth2_permissions_glossary.txt"}
{if "api_authenticate_self"|@features_is_enabled}
<div class="api-sect">
<p>If you are <strong>not</strong> a developer and would like to try out the API then <a href="{$cfg.abs_root_url}api/oauth2/authenticate/like-magic/">you should visit this page</a> to create an access token for yourself. If you are a developer then you probably want to start by <a href="{$cfg.abs_root_url}api/keys/register/">creating an API key</a>. If you are a developer please consult the <a href="{$cfg.abs_root_url}api/oauth2/howto/">OAuth2 How To</a> page for details.</p>
</div>
{/if}
</div>
{include file="inc_foot.txt"}