10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
OIDCConfiguration.h
1#ifndef TENDUKE_OIDC_OIDCCONFIGURATION_H
2#define TENDUKE_OIDC_OIDCCONFIGURATION_H
3
4#include "crypto/MessageDigest.h"
5#include "oauth/OAuthConfiguration.h"
6
7#include <memory>
8#include <string>
9
10namespace tenduke { namespace oidc {
11
12
17{
18public:
27 std::string issuer,
28 std::shared_ptr<const tenduke::crypto::PublicKey> verificationKey,
30 std::string userinfoEndpoint
33 {}
34
36 const std::string issuer;
37
39 const std::shared_ptr<const tenduke::crypto::PublicKey> verificationKey;
42
44 const std::string userinfoEndpoint;
45};
46
47
48}}
49
50#endif // TENDUKE_OIDC_OIDCCONFIGURATION_H
Algorithm
Supported algorithms.
Definition MessageDigest.h:24
OIDC-configuration.
Definition OIDCConfiguration.h:17
const std::string issuer
Expected issuer (from the OIDC provider)
Definition OIDCConfiguration.h:36
const std::shared_ptr< const tenduke::crypto::PublicKey > verificationKey
Key to use to verify the ID-token signature.
Definition OIDCConfiguration.h:39
OIDCConfiguration(std::string issuer, std::shared_ptr< const tenduke::crypto::PublicKey > verificationKey, tenduke::crypto::MessageDigest::Algorithm digestAlgorithm, std::string userinfoEndpoint)
Constructs new instance.
Definition OIDCConfiguration.h:26
const tenduke::crypto::MessageDigest::Algorithm digestAlgorithm
Message digest algorithm to verify ID-token signature.
Definition OIDCConfiguration.h:41
const std::string userinfoEndpoint
Userinfo endpoint URL.
Definition OIDCConfiguration.h:44
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7