ORE Studio 0.0.4
Loading...
Searching...
No Matches
Namespaces | Classes | Enumerations | Functions
ores::iam::domain Namespace Reference

Domain types for identity and access management. More...

Namespaces

namespace  permissions
 Well-known permission codes used throughout the system.
 
namespace  roles
 Well-known role names used throughout the system.
 

Classes

struct  account
 Represents an account for an entity in the system. More...
 
struct  account_role
 Represents the assignment of a role to an account. More...
 
struct  account_version
 Represents a specific version of an account with metadata. More...
 
struct  account_version_history
 Contains the full version history for an account. More...
 
struct  login_info
 Represents login tracking and security information for an account. More...
 
struct  permission
 Represents an atomic permission that can be granted to roles. More...
 
struct  role
 Represents a named collection of permissions that can be assigned to accounts. More...
 
struct  role_permission
 Represents the assignment of a permission to a role. More...
 
struct  session
 Represents a user session in the system. More...
 
struct  session_statistics
 Aggregated session statistics for a time period. More...
 

Enumerations

enum class  session_protocol { binary = 0 , http = 1 }
 Protocol used for the session connection. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const account &v)
 Dumps the account object to a stream in JSON format.
 
std::string convert_to_table (const std::vector< account > &v)
 Converts accounts to the table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< account > &v)
 Dumps the account object to a stream in table format.
 
std::string convert_to_table (const std::vector< account_version > &v)
 Converts account version to table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< account_version > &v)
 Dumps the account version objects to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const login_info &v)
 Dumps the feature flags object to a stream in JSON format.
 
std::string convert_to_table (const std::vector< login_info > &v)
 Converts feature flags to table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< login_info > &v)
 Dumps the feature flags object to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const permission &v)
 Dumps the permission object to a stream in JSON format.
 
std::string convert_to_table (const std::vector< permission > &v)
 Converts permissions to the table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< permission > &v)
 Dumps the permission objects to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const role &v)
 Dumps the role object to a stream in JSON format.
 
std::string convert_to_table (const std::vector< role > &v)
 Converts roles to the table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< role > &v)
 Dumps the role objects to a stream in table format.
 
constexpr std::string_view to_string (session_protocol p)
 Converts a session_protocol to its string representation.
 
constexpr session_protocol session_protocol_from_string (std::string_view s)
 Converts a string to session_protocol.
 
std::ostream & operator<< (std::ostream &s, const session &v)
 Dumps the session object to a stream in JSON format.
 
std::ostream & operator<< (std::ostream &s, const session_statistics &v)
 Dumps the session_statistics object to a stream in JSON format.
 
std::string convert_to_json (const account &v)
 Dumps the account object to a stream in JSON format.
 
std::string convert_to_json (const std::vector< account > &v)
 
std::string convert_to_json (const login_info &v)
 Dumps the feature flags object to a stream in JSON format.
 
std::string convert_to_json (const std::vector< login_info > &v)
 
std::string convert_to_json (const permission &v)
 Dumps the permission object to a stream in JSON format.
 
std::string convert_to_json (const std::vector< permission > &v)
 
std::string convert_to_json (const role &v)
 Dumps the role object to a stream in JSON format.
 
std::string convert_to_json (const std::vector< role > &v)
 

Detailed Description

Domain types for identity and access management.

Contains core entity types including account, login_info, role, permission, and their relationships. Each type has corresponding JSON I/O support.

Enumeration Type Documentation

◆ session_protocol

enum class session_protocol
strong

Protocol used for the session connection.

Enumerator
binary 

ORE Studio binary protocol over TCP.

http 

HTTP/REST API with JWT authentication.