feat(CIE): Implement OIDC RP Service with login, callback, and session management
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "common/OidcJwt.h"
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace visione::oidc
|
||||
{
|
||||
struct JweParts
|
||||
{
|
||||
Json::Value header;
|
||||
std::string encodedHeader;
|
||||
std::string encodedEncryptedKey;
|
||||
std::string encodedIv;
|
||||
std::string encodedCiphertext;
|
||||
std::string encodedTag;
|
||||
};
|
||||
|
||||
JweParts parseJwe(const std::string &jwe);
|
||||
std::string decryptJwe(const std::string &jwe, const Jwk &jwk);
|
||||
} // namespace visione::oidc
|
||||
Reference in New Issue
Block a user