-
-
Notifications
You must be signed in to change notification settings - Fork 591
Demo application
You shall not pass edited this page Dec 19, 2015
·
2 revisions
If not configured, the table row is red
EditOAuthSwiftDemo/Service.plist
to fill consumer key and secret for a specific service
After demo launch a copy of OAuthSwiftDemo/Service.plist
is in ~Documents/.oauth/
- For OSX demo, your user Document directory
- For iOS demo, into a iOS simulator directory, see application logs
Add your service using xcode or text editor
<key>ServiceName</key>
<dict>
<key>consumerKey</key>
<string></string>
<key>consumerSecret</key>
<string></string>
</dict>
in doAuthService
switch service
add a case for your service
case "ServiceName":
doOAuthServiceName(parameters)
Then create your doOAuthServiceName
function after the last one. Take inspiration from other service.
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat
](http://mit-license.org) [![Platform](http://img.shields.io/badge/platform-iOS_OSX_TVOS-lightgrey.svg?style=flat ](https://developer.apple.com/resources/) [![Language](http://img.shields.io/badge/language-swift-orange.svg?style=flat ](https://developer.apple.com/swift)