Skip to content

service

Structs


firma_authority::service::AuthorityServiceImpl

Section titled “firma_authority::service::AuthorityServiceImpl”

Struct

gRPC implementation of the AuthorityService defined in authority.proto.

Methods:

  • fn try_new(issuance_policy_store: CedarPolicyStore, policy_store: CedarPolicyStore, revocation_store: RevocationStore, signer: Arc<PasetoV4Signer>, max_ttl_seconds: i32) -> anyhow::Result<Self> - # Errors

Trait Implementations:

  • AuthorityService
    • fn issue_capability(self: &'life0 Self, request: TonicRequest<IssueCapabilityRequest>) -> ::core::pin::Pin<Box<dyn ::core::future::Future>> - FR-3: Evaluate Cedar policies and issue a signed capability token.
    • fn watch_policy_bundle(self: &'life0 Self, request: TonicRequest<WatchPolicyBundleRequest>) -> ::core::pin::Pin<Box<dyn ::core::future::Future>> - FR-5: Stream policy bundles to connected sidecars.
    • fn watch_revocations(self: &'life0 Self, request: TonicRequest<WatchRevocationsRequest>) -> ::core::pin::Pin<Box<dyn ::core::future::Future>> - FR-6: Stream revocation events to connected sidecars.