Skip to content

authority_service_server

Module: firma::v1::authority_service_server

Section titled “Module: firma::v1::authority_service_server”

Structs

Traits

  • AuthorityService - Generated trait containing gRPC methods that should be implemented for use with AuthorityServiceServer.

Constants


firma_proto::firma::v1::authority_service_server::AuthorityService

Section titled “firma_proto::firma::v1::authority_service_server::AuthorityService”

Trait

Generated trait containing gRPC methods that should be implemented for use with AuthorityServiceServer.

Methods:

  • issue_capability: IssueCapability evaluates the agent’s request against loaded Cedar policies
  • WatchPolicyBundleStream: Server streaming response type for the WatchPolicyBundle method.
  • watch_policy_bundle: WatchPolicyBundle is a persistent server-streaming call. Immediately streams
  • WatchRevocationsStream: Server streaming response type for the WatchRevocations method.
  • watch_revocations: WatchRevocations is a persistent server-streaming call that pushes

firma_proto::firma::v1::authority_service_server::AuthorityServiceServer

Section titled “firma_proto::firma::v1::authority_service_server::AuthorityServiceServer”

Struct

Generic Parameters:

  • T

Methods:

  • fn new(inner: T) -> Self
  • fn from_arc(inner: Arc<T>) -> Self
  • fn with_interceptor<F>(inner: T, interceptor: F) -> InterceptedService<Self, F>
  • fn accept_compressed(self: Self, encoding: CompressionEncoding) -> Self - Enable decompressing requests with the given encoding.
  • fn send_compressed(self: Self, encoding: CompressionEncoding) -> Self - Compress responses with the given encoding, if the client supports it.
  • fn max_decoding_message_size(self: Self, limit: usize) -> Self - Limits the maximum size of a decoded message.
  • fn max_encoding_message_size(self: Self, limit: usize) -> Self - Limits the maximum size of an encoded message.

Traits: NamedService

Trait Implementations:

  • Service
    • fn poll_ready(self: & mut Self, _cx: & mut Context) -> Poll<std::result::Result<(), <Self as >::Error>>
    • fn call(self: & mut Self, req: http::Request<B>) -> <Self as >::Future
  • Clone
    • fn clone(self: &Self) -> Self
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_proto::firma::v1::authority_service_server::SERVICE_NAME

Section titled “firma_proto::firma::v1::authority_service_server::SERVICE_NAME”

Constant: &str

Generated gRPC service name