-
Notifications
You must be signed in to change notification settings - Fork 0
Scopes
Kristoffer Pöpperling edited this page Jun 25, 2018
·
1 revision
There a 2 scopes / roles that can be used in the fryd API: UserInfo and AppInfo.
An external application can get the UserInfo scope by requesting a user access token.
It can get the AppInfo Scope by requesting an access token with client credentials (Client id und Client Secret).
Both Scopes (With that 2 Token) are needed to track a trophy for a user.
The following table shows what ca be done the the scopes:
| UserInfo | AppInfo |
|---|---|
| Getting user information (Only what the user wants you to see) | Getting location information for you own fryd spot |
| Getting the achieve trophies of a user | Getting the Trophylists of your fryd spot |
| Getting the trophies of your trophylists | |
| Getting information of a trophy |