pub trait HasSubject {
// Required method
fn subject(&self) -> &str;
}Available on crate feature
auth only.Expand description
Trait for claims that have a subject (user ID).
pub trait HasSubject {
// Required method
fn subject(&self) -> &str;
}auth only.Trait for claims that have a subject (user ID).