pub struct AuthorityIssuer { /* private fields */ }Expand description
Trusted in-process issuer. It has no public constructor, so ordinary callers cannot mint capability-bearing permits or supply caller identities as request data.
Implementations§
Source§impl AuthorityIssuer
impl AuthorityIssuer
pub fn mint_operator_system( &self, principal: impl Into<String>, caller_id: impl Into<String>, capability: impl Into<String>, ) -> AuthorityPermit
pub fn mint_with_resolved_evidence( &self, principal: impl Into<String>, caller_id: impl Into<String>, capability: impl Into<String>, evidence: Vec<ResolvedEvidenceDigest>, origin_authority: OriginAuthorityLabelV1, ) -> AuthorityPermit
Auto Trait Implementations§
impl Freeze for AuthorityIssuer
impl RefUnwindSafe for AuthorityIssuer
impl Send for AuthorityIssuer
impl Sync for AuthorityIssuer
impl Unpin for AuthorityIssuer
impl UnsafeUnpin for AuthorityIssuer
impl UnwindSafe for AuthorityIssuer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more