|
10Duke Enterprise C++ SDK
|
Namespaces | |
| namespace | device |
| Implementation of OAuth device flow. | |
| namespace | pkce |
| Implementation of OAuth "Authorization Code Flow with PKCE". | |
Classes | |
| class | AccessTokenRequestAuthenticator |
| A tenduke::http::HTTPRequestAuthenticator, which uses fixed access token to authenticate HTTP-requests. More... | |
| class | BaseOAuthClient |
| Base class for OAuth-clients. More... | |
| class | BaseOAuthRequest |
| Base OAuthRequest. More... | |
| class | DefaultOAuthRefreshRequest |
| Default implementation tenduke::oauth::OAuthRefreshRequest. More... | |
| class | HTTPResponseToOAuthException |
| Throws OAuthExceptions based on HTTP error response. More... | |
| class | OAuthAuthorizationRequest |
| OAuth-request handles the OAuth authorization flow. More... | |
| class | OAuthBackendConfiguration |
| Container for OAuth-backend configuration. More... | |
| class | OAuthBrowserAuthorizationRequest |
| OAuth-request to handle OAuth authorization using browser. More... | |
| class | OAuthBrowserFlow |
| OAuth-client to initiate OAuth authorization flow. More... | |
| class | OAuthClient |
| OAuth-client to initiate OAuth authorization flow. More... | |
| class | OAuthClientConfiguration |
| Container for OAuth-client-configuration. More... | |
| class | OAuthConfiguration |
| Container for OAuth-configuration. More... | |
| class | OAuthException |
| Generic OAuth-related exception. More... | |
| class | OAuthInvalidGrant |
| Exception thrown when server reported "invalid_grant". More... | |
| class | OAuthInvalidState |
| Exception thrown when the redirect URI of an authorization response does not contain "state", or the "state" does not match the authorization request. More... | |
| class | OAuthRefreshRequest |
| Request to refresh OAuthState. More... | |
| class | OAuthServerError |
| Thrown when server reported an OAuth-related error. More... | |
| class | OAuthState |
| OAuth session state. More... | |
| class | OAuthStateImpl |
| Implementation of OAuthState. More... | |
| class | OAuthTokenRequest |
| OAuth token request. More... | |
| class | OAuthTokenResponse |
| Encapsulates results from tenduke::oauth::OAuthTokenRequest. More... | |
Functions | |
| void | checkAdditionalParameters (const std::map< std::string, std::string > &additionalParameters, const std::set< std::string > &reservedNames) |
| Checks that additional (custom) request parameters do not use names of parameters the request sets itself. | |
| void tenduke::oauth::checkAdditionalParameters | ( | const std::map< std::string, std::string > & | additionalParameters, |
| const std::set< std::string > & | reservedNames ) |
Checks that additional (custom) request parameters do not use names of parameters the request sets itself.
Additional parameters must not replace or duplicate protocol parameters, e.g. client_id, redirect_uri or code_challenge_method, because that would silently change or weaken the flow.
| additionalParameters | the additional parameters |
| reservedNames | names of the parameters the request sets itself |
| std::invalid_argument | if an additional parameter uses a reserved name |