[][src]Struct oxide_auth::frontends::actix::message::Refresh

pub struct Refresh {
    pub token: String,
    pub grant: Grant,
}

Issue a renewed bearer token.

Fields

token: String

The refresh token with which to issue a refreshed bearer token.

grant: Grant

The grant defining client, scope and timeframe of the token.

Trait Implementations

impl Message for Refresh[src]

type Result = Result<RefreshedToken, ()>

The type of value that this message will resolved with if it is successful. Read more

impl<I: Issuer + 'static> Handler<Refresh> for AsActor<I>[src]

type Result = Result<RefreshedToken, ()>

The type of value that this handle will return

Auto Trait Implementations

impl Unpin for Refresh

impl Send for Refresh

impl Sync for Refresh

impl RefUnwindSafe for Refresh

impl UnwindSafe for Refresh

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> UnsafeAny for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,