1#ifndef SOURCEMETA_CORE_OIDC_HASH_H_
2#define SOURCEMETA_CORE_OIDC_HASH_H_
4#ifndef SOURCEMETA_CORE_OIDC_EXPORT
5#include <sourcemeta/core/oidc_export.h>
8#include <sourcemeta/core/jose.h>
14namespace sourcemeta::core {
37SOURCEMETA_CORE_OIDC_EXPORT
39 -> std::optional<std::string>;
54SOURCEMETA_CORE_OIDC_EXPORT
57 const std::string_view claim) -> bool;
JWSAlgorithm
Definition jose_algorithm.h:21
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_verify_token_hash(const std::string_view token, const JWSAlgorithm algorithm, const std::string_view claim) -> bool
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_token_hash(const std::string_view token, const JWSAlgorithm algorithm) -> std::optional< std::string >