载入中...
搜索中...
未找到
eve::authority 命名空间参考

类

class  Authority
 Script module factory for generic authority stores. 更多...
 
struct  AuthorityStoreHandleTag
 Handle domain for module-owned authority stores. 更多...
 
struct  Decision
 Explainable result of an authority decision. 更多...
 
struct  Event
 Deterministically sequenced authority lifecycle event. 更多...
 
struct  Rule
 One stable authority rule over an opaque actor and scope. 更多...
 
class  Store
 Generic, deterministic capability authority store. 更多...
 

类型定义

using AuthorityStoreHandleRef = eve::script::RuntimeHandleRef< AuthorityStoreHandleTag >
 Generation- and module-epoch-qualified authority store reference.
 

枚举

enum class  RuleEffect { Grant , Deny }
 Whether an authority rule grants or denies a capability. 更多...
 
enum class  EventKind { Granted , Denied , Revoked , Expired }
 Kind of authority lifecycle event. 更多...
 

函数

std::string effectName (RuleEffect effect)
 Returns the stable lowercase name of a rule effect.
 
std::string eventKindName (EventKind kind)
 Returns the stable lowercase name of an event kind.
 
 Module_IMPL (Authority, new Authority())
 

类型定义说明

◆ AuthorityStoreHandleRef

Generation- and module-epoch-qualified authority store reference.

在文件 Authority.h 第 21 行定义.

枚举类型说明

◆ EventKind

enum class eve::authority::EventKind
strong

Kind of authority lifecycle event.

枚举值
Granted 
Denied 
Revoked 
Expired 

在文件 Authority.h 第 50 行定义.

◆ RuleEffect

enum class eve::authority::RuleEffect
strong

Whether an authority rule grants or denies a capability.

枚举值
Grant 
Deny 

在文件 Authority.h 第 24 行定义.

函数说明

◆ effectName()

std::string eve::authority::effectName ( RuleEffect  effect)

Returns the stable lowercase name of a rule effect.

在文件 Authority.cpp 第 132 行定义.

引用了 effect , 以及 Grant.

被这些函数引用 eve::authority::Store::snapshotJson().

◆ eventKindName()

EVENGINE_API_FOUNDATION std::string eve::authority::eventKindName ( EventKind  kind)

Returns the stable lowercase name of an event kind.

在文件 Authority.cpp 第 133 行定义.

引用了 Denied, Expired, Granted, kind , 以及 Revoked.

◆ Module_IMPL()

eve::authority::Module_IMPL ( Authority  ,
new   Authority() 
)