-
Notifications
You must be signed in to change notification settings - Fork 30
Feedly
Damien edited this page May 26, 2016
·
2 revisions
let feedly: Provider = .Feedly(
clientID: "***",
clientSecret: "***",
redirectURL: "foo://callback"
)
{
"expires_in": 3920,
"token_type": "Bearer",
"id": "c805fcbf-3acf-4302-a97e-d82f9d7c897f",
"refresh_token": "AQAA7rJ7InAiOjEsImEiOiJmZWVk...",
"plan": "standard",
"state": "...",
"access_token": "AQAAF4iTvPam_M4_dWheV_5NUL8E..."
}
https://cloud.feedly.com/subscriptions
- response_type
- string Indicates the type of token requested. At this time, this field will always have the value code
- client_id
- string Indicates the client that is making the request. The value passed in this parameter must exactly match the value set during the partnership program.
- redirect_uri
- string Determines where the response is sent. The value of this parameter must exactly match one of the values set during the partnership program (including the http or https schemes, case, and trailing ‘/’). Make sure this parameter is URL-encoded! On sandbox, the default list includes “http://localhost”, “http://localhost:8080” and “urn:ietf:wg:oauth:2.0:oob”.
- scope
- string scope=https://cloud.feedly.com/subscriptions
- state
- string (optional) Indicates any state which may be useful to your application upon receipt of the response. The feedly Authorization Server roundtrips this parameter, so your application receives the same value it sent. Possible uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. Make sure this parameter is URL-encoded!
- code
- string The code returned from the previous call
- client_id
- string The clientId obtained during application registration
- client_secret
- string The client secret obtained during application registration
- redirect_uri
- string The URI registered with the application (make sure this parameter is URL-encoded!)
- state
- string Indicates any state which may be useful to your application upon receipt of the response. The feedly Authorization Server roundtrips this parameter, so your application receives the same value it sent. Possible uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations.
- grant_type
- string authorization_code