This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Get a Concur OAuth token using the "Native Flow" | |
/// </summary> | |
/// <param name="loginID">Concur login ID of the user that is requesting the token</param> | |
/// <param name="password">Password for the specified user</param> | |
/// <param name="appKey">Application authorization key identifying the application that the token will access | |
/// (the "Key" field from the "New/Modify Partner Application" dialog box on the Web Services administration page.)</param> | |
/// <returns>Access token, good for one year.</returns> | |
public string GetOAuthToken(string loginID, string password, string appKey) | |
{ |