Search code examples
iosiphoneipadonedrive

How i can Set an existing LiveConnectSession to the LiveConnectClient?


i'm trying to implement a multi connexion on my ios app so i can add two oneDrive account on my app , so i need to save the LiveConnectSession and set it to the current LiveConnectClient but the session property of the LiveConnectClient is readonly , so is there any way to do this?

I was thinking to save the accessToken ,authenticationToken,refreshToken,scopes,expires of the LiveConnectSession and then do:

initWithAccessToken:(NSString *)accessToken
authenticationToken:(NSString *)authenticationToken
       refreshToken:(NSString *)refreshToken
             scopes:(NSArray *)scopes
            expires:(NSDate *)expires;

thanks


Solution

  • No, there is no supported way to accomplish this.