Skip to content

Commit 984fd46

Browse files
committed
Fix wrong OAuthResponseType in DropboxOAuth2Helper docs
1 parent a56abe7 commit 984fd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dropbox-sdk-dotnet/Dropbox.Api/DropboxOauth2Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public enum OAuthResponseType
100100
///
101101
/// private async Task GetAccessToken() {
102102
/// var state = Guid.NewGuid().ToString("N");
103-
/// var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Code, ApiKey, new Uri(RedirectUri), state: state);
103+
/// var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, ApiKey, new Uri(RedirectUri), state: state);
104104
///
105105
/// var http = new HttpListener();
106106
/// http.Prefixes.Add(RedirectUri);

0 commit comments

Comments
 (0)