pub struct AppAuthenticationTokenIssued {
pub token: AppAuthenticationToken,
pub expires_at: Option<Timestamp>,
}Expand description
Response payload for AdminResponse::AppAuthenticationTokenIssued.
Fields§
§token: AppAuthenticationTokenA token issued by the conductor that can be used to authenticate a connection to an app interface. This is expected to be passed from the caller of the admin interface to the client that will use the app interface. It should be treated as secret and kept from other parties.
expires_at: Option<Timestamp>The timestamp after which Holochain will consider the token invalid. This should be considered informational only and the client should not rely on the token being accepted following a client-side check that the token has not yet expired.
If the token was created with IssueAppAuthenticationTokenPayload::expiry_seconds set to 0
then this field will be None.
Trait Implementations§
Source§impl Clone for AppAuthenticationTokenIssued
impl Clone for AppAuthenticationTokenIssued
Source§fn clone(&self) -> AppAuthenticationTokenIssued
fn clone(&self) -> AppAuthenticationTokenIssued
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppAuthenticationTokenIssued
impl Debug for AppAuthenticationTokenIssued
Source§impl<'de> Deserialize<'de> for AppAuthenticationTokenIssued
impl<'de> Deserialize<'de> for AppAuthenticationTokenIssued
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AppAuthenticationTokenIssued
impl RefUnwindSafe for AppAuthenticationTokenIssued
impl Send for AppAuthenticationTokenIssued
impl Sync for AppAuthenticationTokenIssued
impl Unpin for AppAuthenticationTokenIssued
impl UnwindSafe for AppAuthenticationTokenIssued
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more