pub struct OidcSubprovider {Show 22 fields
pub id: String,
pub name: String,
pub slug: Option<String>,
pub visibility: OidcProviderVisibility,
pub client_id: String,
pub client_secret: Option<String>,
pub scopes: Option<Vec<String>>,
pub redirect_url: Option<String>,
pub discovery_url: Option<String>,
pub issuer_url: Option<String>,
pub authorization_url: Option<String>,
pub authorization_url_params: Option<String>,
pub token_url: Option<String>,
pub token_url_params: Option<String>,
pub introspection_url: Option<String>,
pub introspection_url_params: Option<String>,
pub revocation_url: Option<String>,
pub revocation_url_params: Option<String>,
pub user_info_url: Option<String>,
pub json_web_key_set_url: Option<String>,
pub json_web_key_set: Option<JsonWebKeySet<CoreJwsSigningAlgorithm, CoreJsonWebKeyType, CoreJsonWebKeyUse, CoreJsonWebKey>>,
pub pkce_code_challenge: OidcProviderPkceCodeChallenge,
}Fields§
§id: String§name: String§slug: Option<String>§visibility: OidcProviderVisibility§client_id: String§client_secret: Option<String>§scopes: Option<Vec<String>>§redirect_url: Option<String>§discovery_url: Option<String>§issuer_url: Option<String>§token_url: Option<String>§token_url_params: Option<String>§introspection_url: Option<String>§introspection_url_params: Option<String>§revocation_url: Option<String>§revocation_url_params: Option<String>§user_info_url: Option<String>§json_web_key_set_url: Option<String>§json_web_key_set: Option<JsonWebKeySet<CoreJwsSigningAlgorithm, CoreJsonWebKeyType, CoreJsonWebKeyUse, CoreJsonWebKey>>§pkce_code_challenge: OidcProviderPkceCodeChallengeImplementations§
Source§impl OidcSubprovider
impl OidcSubprovider
Sourcepub fn builder() -> OidcSubproviderBuilder
pub fn builder() -> OidcSubproviderBuilder
Create an instance of OidcSubprovider using the builder syntax
Source§impl OidcSubprovider
impl OidcSubprovider
pub async fn oidc_client(&self) -> Result<CoreClient, ConfigurationError>
Trait Implementations§
Source§impl Clone for OidcSubprovider
impl Clone for OidcSubprovider
Source§fn clone(&self) -> OidcSubprovider
fn clone(&self) -> OidcSubprovider
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 OidcSubprovider
impl Debug for OidcSubprovider
Auto Trait Implementations§
impl Freeze for OidcSubprovider
impl RefUnwindSafe for OidcSubprovider
impl Send for OidcSubprovider
impl Sync for OidcSubprovider
impl Unpin for OidcSubprovider
impl UnwindSafe for OidcSubprovider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more