| 
    10Duke Enterprise C++ Client
    
   | 
 
#include <DefaultOIDCBrowserFlow.h>
Default implementation of browser-based OIDC-client.
  
Public Member Functions | |
| DefaultOIDCBrowserFlow (const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::shared_ptr< const tenduke::oauth::OAuthBrowserFlow > &oauthClient, const std::shared_ptr< tenduke::utl::random::RandomUrlSafeString > &randomUrlSafeString, const std::shared_ptr< const tenduke::jwt::JWTParser > &jwtParser, const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient, size_t nonceLength=DEFAULT_NONCE_LENGTH) | |
| Constructs new instance.   | |
| std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest > | authenticate (const std::string &scopes) const override | 
| Creates OIDCRequest which performs the OIDC-authentication.   | |
| std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest > | authenticate (const std::string &scopes, const std::map< std::string, std::string > &additionalParameters) const override | 
| Creates OIDCRequest which performs the OIDC-authentication.   | |
  Public Member Functions inherited from tenduke::oidc::BaseOIDCClient | |
| BaseOIDCClient (const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > &oidcConfiguration, const std::shared_ptr< const tenduke::oauth::OAuthClient > &oauthClient, const std::shared_ptr< const tenduke::jwt::JWTParser > &jwtParser, const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient) | |
| Constructs new instance.   | |
| std::unique_ptr< const tenduke::oidc::OIDCRefreshRequest > | refresh (const std::shared_ptr< tenduke::oidc::OIDCState > &state) const override | 
| Refreshes the OIDC state.   | |
| std::string | requestUserinfo (const std::string &accessToken) const override | 
| Requests user information from "userinfo"-endpoint.   | |
Static Public Attributes | |
| static const std::size_t | DEFAULT_NONCE_LENGTH = 32 | 
| Default nonce length.  | |
Protected Member Functions | |
| std::string | generateNonce () const | 
| Generates nonce.   | |
Additional Inherited Members | |
  Static Protected Member Functions inherited from tenduke::oidc::BaseOIDCClient | |
| static std::string | ensureOpenIDScope (const std::string &scopes) | 
Checks if provided scopes have openid among them.   | |
  Protected Attributes inherited from tenduke::oidc::BaseOIDCClient | |
| const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > | oidcConfiguration | 
| OIDC-configuration.  | |
| const std::shared_ptr< const tenduke::jwt::JWTParser > | parseJWT | 
| JWT-parse for parsing ID-token.  | |
| const std::shared_ptr< const tenduke::http::HTTPClient > | http | 
| HTTP-client.  | |
| tenduke::oidc::DefaultOIDCBrowserFlow::DefaultOIDCBrowserFlow | ( | const std::shared_ptr< const tenduke::oidc::OIDCConfiguration > & | oidcConfiguration, | 
| const std::shared_ptr< const tenduke::oauth::OAuthBrowserFlow > & | oauthClient, | ||
| const std::shared_ptr< tenduke::utl::random::RandomUrlSafeString > & | randomUrlSafeString, | ||
| const std::shared_ptr< const tenduke::jwt::JWTParser > & | jwtParser, | ||
| const std::shared_ptr< const tenduke::http::HTTPClient > & | httpClient, | ||
| size_t | nonceLength = DEFAULT_NONCE_LENGTH ) | 
Constructs new instance.
| oidcConfiguration | - | 
| oauthClient | - | 
| randomUrlSafeString | - | 
| jwtParser | - | 
| httpClient | - | 
| nonceLength | - | 
      
  | 
  overridevirtual | 
Creates OIDCRequest which performs the OIDC-authentication.
| scopes | scopes to authenticate / authorize | 
Implements tenduke::oidc::OIDCBrowserFlow.
      
  | 
  overridevirtual | 
Creates OIDCRequest which performs the OIDC-authentication.
| scopes | scopes to authenticate / authorize | 
| additionalParameters | additional parameters for the request | 
Implements tenduke::oidc::OIDCBrowserFlow.
      
  | 
  protected | 
Generates nonce.