View OAuthSample.cs
/// <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) | |
{ |