コード例 #1
0
        public async Task Initialize()
        {
            var url = _oAuthHelper.GetAuthorizationCodeRequestUrl(OneDriveHelper.OneDriveClientId, this.RedirectionUrl.ToString(), OneDriveHelper.Scopes);

            this.AuthorizationUrl = new Uri(url);
        }
コード例 #2
0
 public Uri AuthenticationUrl()
 {
     return(new Uri(oh.GetAuthorizationCodeRequestUrl(ClientId, null, new string[] { "onedrive.readwrite", "offline_access" })));
 }