Click here to Skip to main content
15,436,489 members
Home / Discussions / CodeProject API
   

CodeProject API

 
GeneralRe: Where... Pin
PJ Arends22-Sep-14 17:45
professionalPJ Arends22-Sep-14 17:45 
GeneralWow, glad to see this API! Pin
iamstarbuck22-Sep-14 8:05
Memberiamstarbuck22-Sep-14 8:05 
QuestionPersistent Access Token? Pin
Agent__00721-Sep-14 20:48
professionalAgent__00721-Sep-14 20:48 
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 
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 
I needed to turn on the Resource Owner flow. I've done that and added a sample that should get you going.

The Access Token has a limited lifetime, currently 14 days. This will change once I implement Refresh tokens and a way to quickly invalidate Access Tokens. Because of this, check for 401 responses, and get a new Access Token if you get one.

There are some security issues with creating a permanent Access Token. That being said, if we can invalidate it on the server, there is a valid Use Case for them. We will toss this into the hat.
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.