-
Notifications
You must be signed in to change notification settings - Fork 30
Dribbble
Damien edited this page May 26, 2016
·
3 revisions
let dribbble: Provider = .Dribbble(
clientID: "***",
clientSecret: "***",
redirectURL: "foo://callback"
)
{
"access_token" : "29ed478ab86c07f1c069b1af76088f7431396b7c4a2523d06911345da82224a0",
"token_type" : "bearer",
"scope" : "public write"
}
Name | Description |
---|---|
public |
Grants read-only access to public information. This is the default scope if no scope is provided. |
write |
Grants write access to user resources, except comments and shots. |
comment |
Grants full access to create, update, and delete comments. |
upload |
Grants full access to create, update, and delete shots and attachments. |
Name | Type | Description |
---|---|---|
client_id |
string |
Required. The client ID you received from Dribbble when you registered. |
redirect_uri |
string |
The URL in your application where users will be sent after authorization. See details below about Redirect URLs. |
scope |
string |
A space separated list of scopes. If not provided, scope defaults to the public scope for users that don’t have a valid token for the application. For users who do already have a valid token for the application, the user won’t be shown the authorization page with the list of scopes. Instead, this step of the flow will automatically complete with the same scopes that were user last time the user completed the flow. |
state |
string |
An unguessable random string. It is used to protect against cross-site request forgery attacks. |
Name | Type | Description |
---|---|---|
client_id |
string |
Required. The client ID you received from Dribbble when you registered. |
client_secret |
string |
Required. The client secret you received from Dribbble when you registered. |
code |
string |
Required. The code you received as a response to Step 1. |
redirect_uri |
string |
The URL in your application where users will be sent after authorization. See details below about Redirect URLs. |