xentara-plugin v2.0.4
The Xentara Plugin Framework
|
Classes | |
class | Authorization |
A authorization that contains the entitlements of an authenticated user. More... | |
class | CertificateAuthenticator |
An authenticator that uses a user certificates. More... | |
class | CertificatePaths |
Paths to the files containing a TLS certificate and the associated private key. More... | |
class | Context |
A security context. More... | |
class | Entitlement |
An entitlement that can be used to restrict access to a protected resource. More... | |
class | HttpAuthenticator |
An authenticator for authenticating HTTP requests. More... | |
class | HttpConfig |
Server-side authentication configuration for an HTTP based service. More... | |
struct | NoFieldNameTag |
Type used to select overloads of HttpAuthenticator that to not include the header field name. More... | |
class | Oauth2Authenticator |
An authenticator that uses OAuth 2.0 compatible JSON web tokens. More... | |
class | Oauth2Scope |
An OAuth 2.0 scope, consisting of a list of scope strings. More... | |
class | PasswordAuthenticator |
An authenticator that uses user name and password. More... | |
Enumerations | |
enum class | DigestType { Sha256 , Sha384 , Sha512 } |
Message digest types. More... | |
enum class | Error { NoError , AccessDenied , MissingAuthorizationHeader , DuplicateAuthorizationHeader } |
Security error codes. More... | |
Functions | |
template<utils::tools::CharType Char> | |
auto | toBasicString (DigestType digestType) -> std::basic_string_view< Char > |
Converts a digest type to a string. | |
template auto | toBasicString< char > (DigestType digestType) -> std::basic_string_view< char > |
template auto | toBasicString< wchar_t > (DigestType digestType) -> std::basic_string_view< wchar_t > |
template auto | toBasicString< char8_t > (DigestType digestType) -> std::basic_string_view< char8_t > |
template auto | toBasicString< char16_t > (DigestType digestType) -> std::basic_string_view< char16_t > |
template auto | toBasicString< char32_t > (DigestType digestType) -> std::basic_string_view< char32_t > |
auto | toString (DigestType digestType) -> std::string_view |
Converts a digest type to a string of type char | |
auto | toWString (DigestType digestType) -> std::wstring_view |
Converts a digest type to a string of type wchar_t | |
auto | toU8String (DigestType digestType) -> std::u8string_view |
Converts a digest type to a string of type char8_t | |
auto | toU16String (DigestType digestType) -> std::u16string_view |
Converts a digest type to a string of type char16_t | |
auto | toU32String (DigestType digestType) -> std::u32string_view |
Converts a number to a string of type char32_t | |
auto | operator<< (std::ostream &stream, DigestType digestType) -> std::ostream & |
Stream insertion operator for qualities. | |
auto | make_error_code (Error errorCode) noexcept -> std::error_code |
Creates an error code object from an error code of type [Error]. | |
auto | httpResponseCode (Error errorCode) noexcept -> std::string_view |
Gets the appropriate HTTP response code for an error code. | |
auto | httpResponseCode (std::error_code errorCode) noexcept -> std::string_view |
Gets the appropriate HTTP response code for an arbitrary error code. | |
|
strong |
|
strong |
|
noexcept |
Gets the appropriate HTTP response code for an error code.
|
noexcept |
Gets the appropriate HTTP response code for an arbitrary error code.
|
noexcept |
Creates an error code object from an error code of type [Error].
auto xentara::security::operator<< | ( | std::ostream & | stream, |
DigestType | digestType | ||
) | -> std::ostream & |
Stream insertion operator for qualities.
stream | The stream |
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
auto xentara::security::toBasicString | ( | DigestType | digestType | ) | -> std::basic_string_view< Char > |
Converts a digest type to a string.
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
auto xentara::security::toString | ( | DigestType | digestType | ) | -> std::string_view |
Converts a digest type to a string of type char
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
auto xentara::security::toU16String | ( | DigestType | digestType | ) | -> std::u16string_view |
Converts a digest type to a string of type char16_t
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
auto xentara::security::toU32String | ( | DigestType | digestType | ) | -> std::u32string_view |
Converts a number to a string of type char32_t
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
auto xentara::security::toU8String | ( | DigestType | digestType | ) | -> std::u8string_view |
Converts a digest type to a string of type char8_t
digestType | The digest type |
#include <xentara/security/DigestType.hpp>
auto xentara::security::toWString | ( | DigestType | digestType | ) | -> std::wstring_view |
Converts a digest type to a string of type wchar_t
digestType | The digest type |
#include <xentara/security/DigestType.hpp>