Method | Description | |
---|---|---|
WindowsLiveAuthorizationController ( ) : Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive |
Initializes a new instance of the WindowsLiveAuthorizationController class.
|
Method | Description | |
---|---|---|
AppendAuthTokensToCallBackUrl ( Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive.OAuthToken token, string callBackUrl ) : string |
Appends the Auth tokens as parameters to the callback Url
|
|
AuthorizeUser ( ) : |
||
ConstructCallBack ( string callBack ) : string |
Constructs the Callback URL to be used while fetching the AccessToken and RefreshToken. The call back URL should be exactly the same as that specifed during the call to get the Authorization Code
|
|
GetAccessTokenFromRefreshToken ( string accessToken, string refreshToken ) : Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive.OAuthToken | ||
GetWindowsLiveLoginUrl ( string callBack ) : string |
Constructs the URL for WindowsLive Auth
|
|
GetWindowsLiveTokens ( string code, string redirectUrl ) : Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive.OAuthToken |
Makes Rest call to Retreive the AccessToken and RefreshToken
|
|
HasOAuthCode ( ) : bool |
Checks if the param "code" exists in the questring params
|
public WindowsLiveAuthorizationController ( ) : Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive | ||
return | Microsoft.Research.DataOnboarding.RepositoryAdapters.SkyDrive |