This fork add ability to get email address of signed user. Original repository link.
###Install via Cocoapods
- Install Cocoapods - Follow the getting started guide to install Cocoapods.
- Add the following to your Podfile :
pod 'OneDriveSDK', :git => 'https://github.com/MintSet/onedrive-sdk-ios.git', :branch => 'userEmail'
- Run the command
pod install
to install the latest OneDriveSDK pod. - Add
#import <OneDriveSDK/OneDriveSDK.h>
to all files that need to reference the SDK.
[ODClient setMicrosoftAccountAppId:<applicationId> scopes:@[<scopes>, @"openid"]]
@"openid"
must be add to array of scopes.
Get an ODClient as described in original README.md.
Use property userEmail
of ODClient object.