Skip to content

authority_service_client

Module: firma::v1::authority_service_client

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

Structs


firma_proto::firma::v1::authority_service_client::AuthorityServiceClient

Section titled “firma_proto::firma::v1::authority_service_client::AuthorityServiceClient”

Struct

Generic Parameters:

  • T

Methods:

  • fn new(inner: T) -> Self
  • fn with_origin(inner: T, origin: Uri) -> Self
  • fn with_interceptor<F>(inner: T, interceptor: F) -> AuthorityServiceClient<InterceptedService<T, F>>
  • fn send_compressed(self: Self, encoding: CompressionEncoding) -> Self - Compress requests with the given encoding.
  • fn accept_compressed(self: Self, encoding: CompressionEncoding) -> Self - Enable decompressing responses.
  • 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.
  • fn issue_capability<impl tonic::IntoRequest<super::IssueCapabilityRequest>>(self: & mut Self, request: impl Trait) -> std::result::Result<tonic::Response<super::IssueCapabilityResponse>, tonic::Status> - IssueCapability evaluates the agent’s request against loaded Cedar policies
  • fn watch_policy_bundle<impl tonic::IntoRequest<super::WatchPolicyBundleRequest>>(self: & mut Self, request: impl Trait) -> std::result::Result<tonic::Response<tonic::codec::Streaming<super::PolicyBundleUpdate>>, tonic::Status> - WatchPolicyBundle is a persistent server-streaming call. Immediately streams
  • fn watch_revocations<impl tonic::IntoRequest<super::WatchRevocationsRequest>>(self: & mut Self, request: impl Trait) -> std::result::Result<tonic::Response<tonic::codec::Streaming<super::RevocationEvent>>, tonic::Status> - WatchRevocations is a persistent server-streaming call that pushes
  • fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error> - Attempt to create a new client by connecting to a given endpoint.

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Clone
    • fn clone(self: &Self) -> AuthorityServiceClient<T>