#include <DefaultOIDCClientFactory.h>
|
| DefaultOIDCClientFactory (const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const tenduke::net::URLParser > &urlParser, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser, const std::shared_ptr< const tenduke::utl::Base64Encoder > &base64Encoder, const std::shared_ptr< const tenduke::crypto::MessageDigestFactory > &messageDigestFactory, const std::shared_ptr< tenduke::time::Clock > &clock, const std::shared_ptr< tenduke::utl::random::RandomUrlSafeString > &randomUrlSafeString, const std::shared_ptr< const tenduke::jwt::JWTParserFactory > &jwtParserFactory) |
| Constructs new instance.
|
|
std::unique_ptr< tenduke::oidc::OIDCBrowserFlow > | create (std::shared_ptr< const tenduke::oauth::OAuthConfiguration > oauthConfiguration, std::shared_ptr< const tenduke::oidc::OIDCConfiguration > oidcConfiguration) const override |
| Creates new tenduke::oidc::OIDCClient for browser-based flow.
|
|
std::unique_ptr< tenduke::oidc::OIDCBrowserFlow > | create (const tenduke::oauth::OAuthClientConfiguration &oauthClientConfiguration, const tenduke::oauth::OAuthBackendConfiguration &oauthBackendConfiguration, std::shared_ptr< const tenduke::oidc::OIDCConfiguration > oidcConfiguration) const override |
| Creates new tenduke::oidc::OIDCClient for browser-based flow.
|
|
◆ DefaultOIDCClientFactory()
Constructs new instance.
- Parameters
-
httpClient | - |
urlParser | - |
jsonParser | - |
base64Encoder | - |
messageDigestFactory | - |
clock | - |
randomUrlSafeString | - |
jwtParserFactory | - |
◆ create() [1/2]
Creates new tenduke::oidc::OIDCClient
for browser-based flow.
- Parameters
-
oauthClientConfiguration | configuration for the OAuth client |
oauthBackendConfiguration | configuration for the OAuth server |
oidcConfiguration | OIDC-configuration |
- Returns
- the client
Implements tenduke::oidc::OIDCClientFactory.
◆ create() [2/2]
◆ createOAuthClient()
Creates OAUth client.
- Parameters
-
- Returns
- -
The documentation for this class was generated from the following files: