CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 08:49:41 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"0623f9d6bc976526a21c7c3fa76b2db9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=0n3YsIxZnb4gVlFE0uMhnJvUoiIEMtzFBfmUIJ4H29K2GHAnC9M4CcqOIFthWAiX2Gr4AUDC%2F%2Fg1xs0T4zjNVTbH6abacYxljTwQJHeeR89pn34EL51WHVhYzwNc8q9gYQrHmh6PXMhPzvNw4Ft%2FaGZqI7TGHdzqQuuXxWRf%2FaOV2m2HZ3V7jRUH6RiIMgbC9OcDl27jhxM4rzxGrBQZk4YvTOlQa3lLVoyjE6mtaHkb8j2%2BF8wgiXqryCospQbOKIsEp216palw1nJme3QKgw%3D%3D--NjmpQmZMtMVghuwB--gXuOaCu6znMWvoiGcvsl0Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.581336250.1753951781; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 08:49:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 08:49:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A348:184B44:6567B7:7CF8FE:688B2E25
Dropbox · delba/SwiftyOAuth Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 30
Dropbox
Damien edited this page Jun 5, 2016
·
1 revision
let dropbox: Provider = .Dropbox(
clientID: "***",
clientSecret: "***"
redirectURL: "foo://callback"
)
{"access_token": "ABCDEFG", "token_type": "bearer", "uid": "12345"}
-
response_type required The grant type requested, either
token
orcode
. - client_id required The app's key, found in the App Console.
-
redirect_uri Where to redirect the user after authorization has completed. This must be the exact URI registered in the App Console; even 'localhost' must be listed if it is used for testing. A redirect URI is required for a
token
flow, but optional forcode
. If the redirect URI is omitted, thecode
will be presented directly to the user and they will be invited to enter the information in your app. - state Up to 500 bytes of arbitrary data that will be passed back to your redirect URI. This parameter should be used to protect against cross-site request forgery (CSRF). See Sections 4.4.1.8 and 4.4.2.5 of the OAuth 2.0 threat model spec.
-
require_role If specified, the user will be asked to authorize with a particular type of Dropbox account, either
work
for a Dropbox for Business account orpersonal
for a personal account. Your app should still verify the type of Dropbox account after authorization since the user could modify or remove therequire_role
parameter. -
force_reapprove Whether or not to force the user to approve the app again if they've already done so. If
false
(default), a user who has already approved the application may be automatically redirected to the URI specified byredirect_uri
. Iftrue
, the user will not be automatically redirected and will have to approve the app again. - disable_signup When true (default is false) users will not be able to sign up for a Dropbox account via the authorization page. Instead, the authorization page will show a link to the Dropbox iOS app in the App Store. This is only intended for use when necessary for compliance with App Store policies.
-
code required The code acquired by directing users to
/oauth2/authorize?response_type=code
. -
grant_type required The grant type, which must be
authorization_code
. -
client_id If credentials are passed in
POST
parameters, this parameter should be present and should be the app's key (found in the App Console). -
client_secret If credentials are passed in
POST
parameters, this parameter should be present and should be the app's secret. -
redirect_uri Only used to validate that it matches the original
/oauth2/authorize
, not used to redirect again.
Clone this wiki locally
You can’t perform that action at this time.