pub struct AsyncInternalSandboxTokenServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> AsyncInternalSandboxTokenService<I> for AsyncInternalSandboxTokenServiceClient<__C>
impl<I: Stream<Item = Result<Bytes, Error>>, __C> AsyncInternalSandboxTokenService<I> for AsyncInternalSandboxTokenServiceClient<__C>
Source§async fn issue_sandbox_token(
&self,
request: &IssueSandboxTokenRequest,
shared_secret: &str,
) -> Result<IssueSandboxTokenResponse, Error>
async fn issue_sandbox_token( &self, request: &IssueSandboxTokenRequest, shared_secret: &str, ) -> Result<IssueSandboxTokenResponse, Error>
Issue a Nominal-signed bearer token bound to the configured sandbox
user + org. The TTL is capped at 1 hour server-side regardless of the
requested value. The shared-secret header must match the value
configured on gatekeeper or the call is rejected.
Source§impl<C> AsyncService<C> for AsyncInternalSandboxTokenServiceClient<C>
impl<C> AsyncService<C> for AsyncInternalSandboxTokenServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for AsyncInternalSandboxTokenServiceClient<C>
impl<C: Clone> Clone for AsyncInternalSandboxTokenServiceClient<C>
Source§fn clone(&self) -> AsyncInternalSandboxTokenServiceClient<C>
fn clone(&self) -> AsyncInternalSandboxTokenServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<C> !RefUnwindSafe for AsyncInternalSandboxTokenServiceClient<C>
impl<C> !UnwindSafe for AsyncInternalSandboxTokenServiceClient<C>
impl<C> Freeze for AsyncInternalSandboxTokenServiceClient<C>where
C: Freeze,
impl<C> Send for AsyncInternalSandboxTokenServiceClient<C>where
C: Send,
impl<C> Sync for AsyncInternalSandboxTokenServiceClient<C>where
C: Sync,
impl<C> Unpin for AsyncInternalSandboxTokenServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for AsyncInternalSandboxTokenServiceClient<C>where
C: UnsafeUnpin,
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