Struct splinter::oauth::store::MemoryInflightOAuthRequestStore [−][src]
pub struct MemoryInflightOAuthRequestStore { /* fields omitted */ }Expand description
A memory-backed implementation of InflightOAuthRequestStore.
Values in this store expire after an hour.
Implementations
Trait Implementations
fn insert_request(
&self,
request_id: String,
pending_authorization: PendingAuthorization
) -> Result<(), InflightOAuthRequestStoreError>
fn insert_request(
&self,
request_id: String,
pending_authorization: PendingAuthorization
) -> Result<(), InflightOAuthRequestStoreError>Insert a request into the store.
fn remove_request(
&self,
request_id: &str
) -> Result<Option<PendingAuthorization>, InflightOAuthRequestStoreError>
fn remove_request(
&self,
request_id: &str
) -> Result<Option<PendingAuthorization>, InflightOAuthRequestStoreError>Remove a request from the store and return it, if it exists.
Clone the store for dynamic dispatch.
Auto Trait Implementations
impl Send for MemoryInflightOAuthRequestStoreimpl Sync for MemoryInflightOAuthRequestStoreimpl Unpin for MemoryInflightOAuthRequestStoreBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Convert self to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, Convert &self to an expression for Diesel’s query builder. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V