Struct ory_hydra_client::models::trusted_o_auth2_jwt_grant_issuer::TrustedOAuth2JwtGrantIssuer
source · pub struct TrustedOAuth2JwtGrantIssuer {
pub allow_any_subject: Option<bool>,
pub created_at: Option<String>,
pub expires_at: Option<String>,
pub id: Option<String>,
pub issuer: Option<String>,
pub public_key: Option<Box<TrustedOAuth2JwtGrantJsonWebKey>>,
pub scope: Option<Vec<String>>,
pub subject: Option<String>,
}
Expand description
TrustedOAuth2JwtGrantIssuer : OAuth2 JWT Bearer Grant Type Issuer Trust Relationship
Fields§
§allow_any_subject: Option<bool>
The "allow_any_subject" indicates that the issuer is allowed to have any principal as the subject of the JWT.
created_at: Option<String>
The "created_at" indicates, when grant was created.
expires_at: Option<String>
The "expires_at" indicates, when grant will expire, so we will reject assertion from "issuer" targeting "subject".
id: Option<String>
§issuer: Option<String>
The "issuer" identifies the principal that issued the JWT assertion (same as "iss" claim in JWT).
public_key: Option<Box<TrustedOAuth2JwtGrantJsonWebKey>>
§scope: Option<Vec<String>>
The "scope" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])
subject: Option<String>
The "subject" identifies the principal that is the subject of the JWT.
Implementations§
source§impl TrustedOAuth2JwtGrantIssuer
impl TrustedOAuth2JwtGrantIssuer
sourcepub fn new() -> TrustedOAuth2JwtGrantIssuer
pub fn new() -> TrustedOAuth2JwtGrantIssuer
OAuth2 JWT Bearer Grant Type Issuer Trust Relationship
Trait Implementations§
source§impl Clone for TrustedOAuth2JwtGrantIssuer
impl Clone for TrustedOAuth2JwtGrantIssuer
source§fn clone(&self) -> TrustedOAuth2JwtGrantIssuer
fn clone(&self) -> TrustedOAuth2JwtGrantIssuer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TrustedOAuth2JwtGrantIssuer
impl Debug for TrustedOAuth2JwtGrantIssuer
source§impl<'de> Deserialize<'de> for TrustedOAuth2JwtGrantIssuer
impl<'de> Deserialize<'de> for TrustedOAuth2JwtGrantIssuer
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
source§impl PartialEq for TrustedOAuth2JwtGrantIssuer
impl PartialEq for TrustedOAuth2JwtGrantIssuer
source§fn eq(&self, other: &TrustedOAuth2JwtGrantIssuer) -> bool
fn eq(&self, other: &TrustedOAuth2JwtGrantIssuer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrustedOAuth2JwtGrantIssuer
Auto Trait Implementations§
impl RefUnwindSafe for TrustedOAuth2JwtGrantIssuer
impl Send for TrustedOAuth2JwtGrantIssuer
impl Sync for TrustedOAuth2JwtGrantIssuer
impl Unpin for TrustedOAuth2JwtGrantIssuer
impl UnwindSafe for TrustedOAuth2JwtGrantIssuer
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