Click here to Skip to main content
16,020,840 members
Home / Discussions / CodeProject API
   

CodeProject API

 
AnswerRe: Persistent Access Token? Pin
Chris Maunder22-Sep-14 5:59
cofounderChris Maunder22-Sep-14 5:59 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:28
professionalAgent__00722-Sep-14 18:28 
AnswerRe: Persistent Access Token? Pin
Matthew Dennis22-Sep-14 6:27
sysadminMatthew Dennis22-Sep-14 6:27 
You might want to look at the Resource Owner Password Credentials Grant Flow [^]. This will allow you to login using a POST.

You can probably modify the Sample Console Application using Client Credentials[^] to do what you need. You will need to change the include your user credentials as the username and password values and change the grant_type parameter to 'password'.

I haven't tested this flow yet, so scream if it fails. I'll try and get a working sample out this week.
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:26
professionalAgent__00722-Sep-14 18:26 
GeneralRe: Persistent Access Token? Pin
Matthew Dennis23-Sep-14 7:35
sysadminMatthew Dennis23-Sep-14 7:35 
GeneralRe: Persistent Access Token? Pin
Agent__00723-Sep-14 18:01
professionalAgent__00723-Sep-14 18:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.