public async Task Initialize() { var url = _oAuthHelper.GetAuthorizationCodeRequestUrl(OneDriveHelper.OneDriveClientId, this.RedirectionUrl.ToString(), OneDriveHelper.Scopes); this.AuthorizationUrl = new Uri(url); }
public Uri AuthenticationUrl() { return(new Uri(oh.GetAuthorizationCodeRequestUrl(ClientId, null, new string[] { "onedrive.readwrite", "offline_access" }))); }