Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #61 from aclev/documentationUpdate
Browse files Browse the repository at this point in the history
updating documention and version bump
  • Loading branch information
aclev committed Nov 9, 2015
2 parents 51802c7 + a36a904 commit c3d7d86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OneDriveSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |s|

s.name = "OneDriveSDK"
s.version = "1.0.5"
s.version = "1.1.0"
s.summary = "OneDrive iOS SDK"

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion OneDriveSDK/Common/ODAuthConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#import <Foundation/Foundation.h>
#import "ODAuthConstants.h"

NSString * const OD_SDK_VERSION = @"1.0.5";
NSString * const OD_SDK_VERSION = @"1.1.0";

NSString * const OD_AUTH_ERROR_DOMAIN = @"com.microsoft.onedrivesdk.autherror";
NSString * const OD_AUTH_ERROR_KEY = @"ODAuthErrorKey";
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ Register your application by following [these](https://dev.onedrive.com/app-regi

* You can set your application Id and scopes directly on the ODClient object.

* Call the class method `[ODClient setMicrosoftAccountAppId:<applicationId> scopes:<scopes>]` with a specified <applicationId> and <scopes>. For more info about scopes, see [Authentication scopes](https://dev.onedrive.com/auth/msa_oauth.htm#authentication-scopes).
* For applications targeting OneDrive call the class method `[ODClient setMicrosoftAccountAppId:<applicationId> scopes:<scopes>]` with a specified `<applicationId>` and `<scopes>`. For more info about scopes, see [Authentication scopes](https://dev.onedrive.com/auth/msa_oauth.htm#authentication-scopes).

* For applications targeting OneDrive for Business call the class method `[ODClient setActiveDirectoryAppId:<applicationId> redirectURL:<redirectURL>]` with specified `<applicationId>` and `<redirectURL>`. Note: the redirect URL must match the redirect URL that you specified in the [Azure Management Portal](https://manage.windowsazure.com/).

### 2.3 Getting an authenticated ODClient object

Expand All @@ -94,7 +96,7 @@ Register your application by following [these](https://dev.onedrive.com/app-regi
* Get an authenticated ODClient via the clientWithCompletion method:

```objc
ODClient *odClient = [ODClient clientWithCompletion:^(ODClient *client, NSError *error){
[ODClient clientWithCompletion:^(ODClient *client, NSError *error){
if (!error){
self.odClient = client;
}
Expand Down

0 comments on commit c3d7d86

Please sign in to comment.