xREL.v3

API: Authentication - Wiki

Sprache wählen
Board RSS API Status Hilfe Kontakt
Optionen

Artikel: API: Authentication

API: Authentication

If your app needs user data, you have to use OAuth 2.0. Please read the Guide for detailed information on user and application authentication.

Scopes
xREL uses the scope feature of OAuth 2.0 to protected specific methods. Methods may be protected because they create a higher server load, or because they may be easily abused. In the documentation, protected methods are identified with a lock icon ((Image)) under "Authentication".

Access to a scope grants access to specific methods as listed in the table below. If you need access to a scope, please contact the developers. Explain your app and why you need access to the specific method(s).
After your application has been granted the scope, you may request it when getting access tokens. Note that you may have to regenerate old access tokens which don't have the scope.
You do not recieve an error when you request a scope that you have no permission for. Instead, you can check for yourself: The returned access token is a JSON Web Token, which you can decode, and check for the scopes array.
ScopeDescr.Methods
viewnfoView NFO filesnfo/release
nfo/p2p_rls
addproofPost proof picturesrelease/addproof
A list of granted scopes for your application is visible in the "Develop Apps" section, where your Consumer Key and Secret are listed.

Zuletzt aktualisiert: 1. Aug. 2020, 12:41 Uhr.

Optionen

Artikel bewerten
0/50/50/50/50/50/50/50/50/50/5
Bisher stimmte niemand ab