Struct oauth2_client::authorization_code_grant::flow::FlowBuildAuthorizationUrlConfiguration
source · [−]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
sourceimpl FlowBuildAuthorizationUrlConfiguration
impl FlowBuildAuthorizationUrlConfiguration
pub fn new() -> Self
pub fn configure<F>(self, f: F) -> Self where
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
sourceimpl Clone for FlowBuildAuthorizationUrlConfiguration
impl Clone for FlowBuildAuthorizationUrlConfiguration
sourcefn clone(&self) -> FlowBuildAuthorizationUrlConfiguration
fn clone(&self) -> FlowBuildAuthorizationUrlConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for FlowBuildAuthorizationUrlConfiguration
impl Default for FlowBuildAuthorizationUrlConfiguration
sourcefn default() -> FlowBuildAuthorizationUrlConfiguration
fn default() -> FlowBuildAuthorizationUrlConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FlowBuildAuthorizationUrlConfiguration
impl Send for FlowBuildAuthorizationUrlConfiguration
impl Sync for FlowBuildAuthorizationUrlConfiguration
impl Unpin for FlowBuildAuthorizationUrlConfiguration
impl UnwindSafe for FlowBuildAuthorizationUrlConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more