Struct okta_jwt_verifier::DefaultClaims
source · pub struct DefaultClaims {
pub iss: String,
pub sub: String,
pub scp: Option<Vec<String>>,
pub cid: Option<String>,
pub uid: Option<String>,
pub exp: u64,
pub iat: u64,
}
Expand description
Describes the default claims inside a decoded token
Fields§
§iss: String
The Issuer Identifier of the response. This value is the unique identifier for the Authorization Server instance.
sub: String
The subject of the token.
scp: Option<Vec<String>>
Array of scopes that are granted to this access token.
cid: Option<String>
Client ID of the client that requested the access token.
uid: Option<String>
A unique identifier for the user. It isn’t included in the access token if there is no user bound to it.
exp: u64
The time the access token expires, represented in Unix time (seconds).
iat: u64
The time the access token was issued, represented in Unix time (seconds).
Trait Implementations§
source§impl Debug for DefaultClaims
impl Debug for DefaultClaims
source§impl<'de> Deserialize<'de> for DefaultClaims
impl<'de> Deserialize<'de> for DefaultClaims
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DefaultClaims
impl Send for DefaultClaims
impl Sync for DefaultClaims
impl Unpin for DefaultClaims
impl UnwindSafe for DefaultClaims
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more