[][src]Trait oxide_auth::code_grant::refresh::Endpoint

pub trait Endpoint {
    fn registrar(&self) -> &dyn Registrar;
fn issuer(&mut self) -> &mut dyn Issuer; }

The specific endpoin trait for refreshing.

Each method will only be invoked exactly once when processing a correct and authorized request, and potentially less than once when the request is faulty. These methods should be implemented by internally using primitives, as it is implemented in the frontend module.

Required methods

fn registrar(&self) -> &dyn Registrar

Authenticate the requesting confidential client.

fn issuer(&mut self) -> &mut dyn Issuer

Recover and test the provided refresh token then issue new tokens.

Loading content...

Implementors

Loading content...