# OAuth2CppLib **Repository Path**: uesoft/OAuth2CppLib ## Basic Information - **Project Name**: OAuth2CppLib - **Description**: No description available - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-12 - **Last Updated**: 2022-02-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ======================================================================== 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: //---------------------- // };