OpenIDC/liboauth2

Probably dumb questions, but are there examples?

matthewwen opened this issue · 1 comments

Sorry to ask, but I'm not too familar with OAuth2.0, and I'm not sure how to implement OAUTH2 into my program without getting a full understanding of some of the functions declared without digging through the src files myself. Are there possible man files? Thanks.

Better understanding of what I'm trying to do

  • language -> C
  • User posts username and password via https POST command.
  • User gets authorization code from the POST request if successful.

What I want from library

  • library takes password and create a hashed password via openssl secret key
  • library creates a session token (I think via the date of the request)
  • user adds token via authorization header, program can validate the token or not. If not, indicate a 404 error etc..