[][src]Trait suzume::Payload

pub trait Payload {
    fn get_iss(&self) -> Option<String> { ... }
fn get_exp(&self) -> Option<i64> { ... }
fn is_expired(&self) -> bool { ... }
fn get_nbf(&self) -> Option<i64> { ... }
fn is_not_before(&self) -> bool { ... } }

Payload is contained in jwt

Provided methods

fn get_iss(&self) -> Option<String>

get issuer

fn get_exp(&self) -> Option<i64>

get expiration time

fn is_expired(&self) -> bool

whether this jwt is expired or not

fn get_nbf(&self) -> Option<i64>

get not before time

fn is_not_before(&self) -> bool

whether this jwt is "not before" or not

Loading content...

Implementors

impl Payload for Auth0Payload[src]

fn is_expired(&self) -> bool[src]

fn get_nbf(&self) -> Option<i64>[src]

Loading content...