pub struct SsoSignInParams {
pub domain: Option<String>,
pub provider_id: Option<String>,
pub redirect_to: Option<String>,
pub skip_http_redirect: bool,
pub code_challenge: Option<String>,
pub code_challenge_method: Option<String>,
}Expand description
Parameters for enterprise SAML SSO sign-in.
Use SsoSignInParams::domain(d) or SsoSignInParams::provider_id(id) to create.
Fields§
§domain: Option<String>§provider_id: Option<String>§redirect_to: Option<String>§skip_http_redirect: boolAlways true for REST clients (prevents HTTP redirect).
code_challenge: Option<String>§code_challenge_method: Option<String>Implementations§
Source§impl SsoSignInParams
impl SsoSignInParams
Sourcepub fn provider_id(id: &str) -> Self
pub fn provider_id(id: &str) -> Self
Create SSO sign-in params by provider ID.
Sourcepub fn redirect_to(self, url: &str) -> Self
pub fn redirect_to(self, url: &str) -> Self
Set the redirect URL after SSO sign-in.
Sourcepub fn code_challenge(self, challenge: &str, method: &str) -> Self
pub fn code_challenge(self, challenge: &str, method: &str) -> Self
Set the PKCE code challenge.
Trait Implementations§
Source§impl Clone for SsoSignInParams
impl Clone for SsoSignInParams
Source§fn clone(&self) -> SsoSignInParams
fn clone(&self) -> SsoSignInParams
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 SsoSignInParams
impl Debug for SsoSignInParams
Auto Trait Implementations§
impl Freeze for SsoSignInParams
impl RefUnwindSafe for SsoSignInParams
impl Send for SsoSignInParams
impl Sync for SsoSignInParams
impl Unpin for SsoSignInParams
impl UnwindSafe for SsoSignInParams
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