pub struct FlowBuildAuthorizationUrlConfiguration {
pub state: Option<State>,
pub code_challenge: Option<(CodeChallenge, CodeChallengeMethod)>,
pub nonce: Option<Nonce>,
}
Fields§
§state: Option<State>
§code_challenge: Option<(CodeChallenge, CodeChallengeMethod)>
§nonce: Option<Nonce>
Implementations§
Source§impl FlowBuildAuthorizationUrlConfiguration
impl FlowBuildAuthorizationUrlConfiguration
pub fn new() -> Self
pub fn configure<F>(self, f: F) -> Selfwhere
F: FnMut(&mut Self),
pub fn set_state(&mut self, state: State)
pub fn set_code_challenge( &mut self, code_challenge: CodeChallenge, code_challenge_method: CodeChallengeMethod, )
pub fn set_nonce(&mut self, nonce: Nonce)
Trait Implementations§
Source§impl Clone for FlowBuildAuthorizationUrlConfiguration
impl Clone for FlowBuildAuthorizationUrlConfiguration
Source§fn clone(&self) -> FlowBuildAuthorizationUrlConfiguration
fn clone(&self) -> FlowBuildAuthorizationUrlConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FlowBuildAuthorizationUrlConfiguration
impl Default for FlowBuildAuthorizationUrlConfiguration
Source§fn default() -> FlowBuildAuthorizationUrlConfiguration
fn default() -> FlowBuildAuthorizationUrlConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlowBuildAuthorizationUrlConfiguration
impl RefUnwindSafe for FlowBuildAuthorizationUrlConfiguration
impl Send for FlowBuildAuthorizationUrlConfiguration
impl Sync for FlowBuildAuthorizationUrlConfiguration
impl Unpin for FlowBuildAuthorizationUrlConfiguration
impl UnwindSafe for FlowBuildAuthorizationUrlConfiguration
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