1#ifndef SOURCEMETA_CORE_OIDC_DISCOVERY_H_
2#define SOURCEMETA_CORE_OIDC_DISCOVERY_H_
4#ifndef SOURCEMETA_CORE_OIDC_EXPORT
5#include <sourcemeta/core/oidc_export.h>
8#include <sourcemeta/core/json.h>
14namespace sourcemeta::core {
32SOURCEMETA_CORE_OIDC_EXPORT
34 -> std::optional<std::string>;
65SOURCEMETA_CORE_OIDC_EXPORT
67 -> std::optional<OIDCWebFingerRequest>;
87SOURCEMETA_CORE_OIDC_EXPORT
89 -> std::optional<std::string_view>;
std::string url
Definition oidc_discovery.h:45
std::string resource
Definition oidc_discovery.h:42
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_discovery_url(const std::string_view issuer) -> std::optional< std::string >
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_webfinger_issuer(const JSON &descriptor) -> std::optional< std::string_view >
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_webfinger_request(const std::string_view identifier) -> std::optional< OIDCWebFingerRequest >