10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::ccg::CCGAuthenticationConfig Class Reference

#include <CCGAuthenticationConfig.h>

Detailed Description

Configuration for Client Credentials Grant.

Used when bootstrapping the client.

Inheritance diagram for tenduke::oidc::ccg::CCGAuthenticationConfig:
tenduke::oidc::BaseOIDCAuthenticationConfig

Public Member Functions

 CCGAuthenticationConfig (std::string oauthClientId, std::string oauthClientSecret, OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
 Creates a new instance.
 
- Public Member Functions inherited from tenduke::oidc::BaseOIDCAuthenticationConfig
 BaseOIDCAuthenticationConfig (std::string oauthClientId, std::string oauthClientSecret={}, ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration={}, std::string scopes={})
 

Additional Inherited Members

- Public Attributes inherited from tenduke::oidc::BaseOIDCAuthenticationConfig
const std::string oauthClientId
 OAuth client id.
 
const std::string oauthClientSecret
 OAuth client secret.
 
const ::tenduke::oidc::OIDCSessionConfiguration oidcSessionConfiguration
 OIDC session configuration.
 
const std::string scopes
 OAuth/OIDC scopes to authorize.
 

Constructor & Destructor Documentation

◆ CCGAuthenticationConfig()

tenduke::oidc::ccg::CCGAuthenticationConfig::CCGAuthenticationConfig ( std::string oauthClientId,
std::string oauthClientSecret,
OIDCSessionConfiguration oidcSessionConfiguration = {},
std::string scopes = {} )
inline

Creates a new instance.

Parameters
oauthClientIdOAuth client id. Must match value configured in the backend. Used as "username" in this flow
oauthClientSecretOAuth client secret. Must match the value configured in the backend. Used as "password" in this flow
oidcSessionConfigurationOIDC session configuration
scopesscopes requested

The documentation for this class was generated from the following file: