|
AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
|
Wraps secret material (access tokens, mTLS private keys). More...
#include <sensitive.hpp>
Public Member Functions | |
| Sensitive ()=default | |
| Sensitive (T value) | |
| Sensitive (const Sensitive &)=default | |
| Sensitive (Sensitive &&) noexcept=default | |
| Sensitive & | operator= (const Sensitive &)=default |
| Sensitive & | operator= (Sensitive &&) noexcept=default |
| std::string | to_string () const |
| Redacted textual form. Never emits the wrapped value. | |
| bool | empty () const |
| True when no secret is held (default-constructed / empty string). | |
Friends | |
| const T & | detail::reveal (const Sensitive< T > &s) noexcept |
Wraps secret material (access tokens, mTLS private keys).
Its string / stream representation is always the redacted placeholder "[SENSITIVE]"; the raw value is reachable only through the friend accessor axiam::detail::reveal().
|
default |
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inline |
Redacted textual form. Never emits the wrapped value.
|
inline |
True when no secret is held (default-constructed / empty string).
|
friend |