Provider endpoints, client credentials and flow settings for OAuth2.
More...
#include <OAuth2.hpp>
Provider endpoints, client credentials and flow settings for OAuth2.
◆ authorization_endpoint
| std::string orbit::middleware::OAuth2Config::authorization_endpoint |
◆ client_id
| std::string orbit::middleware::OAuth2Config::client_id |
◆ client_secret
| std::string orbit::middleware::OAuth2Config::client_secret |
◆ connect_timeout_seconds
| long orbit::middleware::OAuth2Config::connect_timeout_seconds = 5 |
Provider connection timeout.
◆ redirect_uri
| std::string orbit::middleware::OAuth2Config::redirect_uri |
◆ request_timeout_seconds
| long orbit::middleware::OAuth2Config::request_timeout_seconds = 10 |
Total time allowed per provider request.
◆ scopes
| std::vector<std::string> orbit::middleware::OAuth2Config::scopes |
◆ secure_cookies
| bool orbit::middleware::OAuth2Config::secure_cookies = false |
Mark the state/PKCE cookies Secure (enable behind HTTPS)
◆ token_endpoint
| std::string orbit::middleware::OAuth2Config::token_endpoint |
◆ use_pkce
| bool orbit::middleware::OAuth2Config::use_pkce = true |
Send an S256 PKCE challenge (RFC 7636)
◆ userinfo_endpoint
| std::string orbit::middleware::OAuth2Config::userinfo_endpoint |
The documentation for this struct was generated from the following file: