-
Notifications
You must be signed in to change notification settings - Fork 2
OAuth2 server library (suspended)
License
gvaduha/OAuth2CppLib
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
======================================================================== OAuth2 CPP 03 Library Project Overview ======================================================================== //TODO: - make_response analog to make_error_response (could be good extension point to support JSON, 302 Redirect replies or custom peculiar types) - Make request.CONTEXT.getUserID() (it will eliminate dependence on UserAuthN) - Make interface for storage policies - URI as class - Review URI parsing against RFC3986 #3 - Remove logic from storage (if any) - Make language resource loader Interface //HACK: - RS not check token type in TokenValidator - RS only check grant in TokenValidator class RFC_values_for_grant_types { //Implicit Grant // //Authorization Request: //---------------------- //response_type REQUIRED == "token". //client_id REQUIRED RFC6749 Section 2.2. //redirect_uri OPTIONAL RFC6749 Section 3.1.2. //scope OPTIONAL RFC6749 Section 3.3. //state RECOMMENDED // //Authorization Response: //----------------------- //Resource Owner Password Credentials Grant // //Authorization Request and Response - NO // //Access Token Request: //--------------------- //grant_type REQUIRED == "password". //username REQUIRED //password REQUIRED //scope OPTIONAL RFC6749 Section 3.3. // //Access Token Response: //---------------------- // //Client Credentials Grant // //Authorization Request and Response - NO // //Access Token Request: //--------------------- //grant_type REQUIRED == "password". //scope OPTIONAL RFC6749 Section 3.3. // //Access Token Response: //---------------------- // };
About
OAuth2 server library (suspended)