DropboxClient.AuthorizeCode Method (string, string)¶
Get an access token from the code returned by GetAuthorizeUrl(ResponseType, string, string, AccountRole, bool, bool) .
Syntax¶
DropboxClient.AuthorizeCode(string code, string redirectUri)
Parameters¶
- code
- System.String Code retrieved from GetAuthorizeUrl(ResponseType, string, string, AccountRole, bool, bool) .
- redirectUri
- System.String If a redirect URL was specified when using GetAuthorizeUrl(ResponseType, string, string, AccountRole, bool, bool) , the same URL.
Returns¶
DotNetBox.AuthorizeResponse Response including generated access token, token type (always ‘bearer’) and client ID.