pub struct IssuerConfig {Show 13 fields
pub scheme: String,
pub host: String,
pub port: u16,
pub scopes_supported: HashSet<String>,
pub claims_supported: Vec<String>,
pub grant_types_supported: HashSet<String>,
pub response_types_supported: HashSet<String>,
pub token_endpoint_auth_methods_supported: HashSet<String>,
pub code_challenge_methods_supported: HashSet<String>,
pub subject_types_supported: Vec<String>,
pub id_token_signing_alg_values_supported: Vec<String>,
pub generate_client_secret_for_dcr: bool,
pub allowed_origins: Vec<String>,
}Fields§
§scheme: String§host: String§port: u16§scopes_supported: HashSet<String>§claims_supported: Vec<String>§grant_types_supported: HashSet<String>§response_types_supported: HashSet<String>§token_endpoint_auth_methods_supported: HashSet<String>§code_challenge_methods_supported: HashSet<String>§subject_types_supported: Vec<String>§id_token_signing_alg_values_supported: Vec<String>§generate_client_secret_for_dcr: bool§allowed_origins: Vec<String>Implementations§
Source§impl IssuerConfig
impl IssuerConfig
pub fn to_discovery_document(&self, issuer: String) -> Value
pub fn validate_scope(&self, scope: &str) -> Result<String, String>
pub fn validate_grant_type(&self, grant: &str) -> bool
Trait Implementations§
Source§impl Clone for IssuerConfig
impl Clone for IssuerConfig
Source§fn clone(&self) -> IssuerConfig
fn clone(&self) -> IssuerConfig
Returns a duplicate 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 IssuerConfig
impl Debug for IssuerConfig
Auto Trait Implementations§
impl Freeze for IssuerConfig
impl RefUnwindSafe for IssuerConfig
impl Send for IssuerConfig
impl Sync for IssuerConfig
impl Unpin for IssuerConfig
impl UnwindSafe for IssuerConfig
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