pub struct AuthorizeParams {
pub response_type: &'static str,
pub redirect_uri: String,
pub scope: String,
pub state: Option<String>,
pub response_mode: Option<String>,
pub pkce: Option<PkcePair>,
pub nonce: Option<String>,
pub prompt: Option<String>,
pub max_age: Option<String>,
pub claims: Option<String>,
pub ui_locales: Option<String>,
}Fields§
§response_type: &'static str§redirect_uri: String§scope: String§state: Option<String>§response_mode: Option<String>§pkce: Option<PkcePair>§nonce: Option<String>§prompt: Option<String>§max_age: Option<String>§claims: Option<String>§ui_locales: Option<String>Implementations§
Source§impl AuthorizeParams
impl AuthorizeParams
pub fn new() -> Self
pub fn redirect_uri(self, uri: impl Into<String>) -> Self
pub fn scope(self, scope: impl Into<String>) -> Self
pub fn state(self, state: impl Into<String>) -> Self
pub fn no_state(self) -> Self
pub fn response_mode(self, mode: impl Into<String>) -> Self
pub fn pkce(self, pkce: PkcePair) -> Self
pub fn nonce(self, nonce: impl Into<String>) -> Self
pub fn prompt(self, prompt: impl Into<String>) -> Self
pub fn max_age(self, max_age: impl Into<String>) -> Self
pub fn claims(self, claims: impl Into<String>) -> Self
pub fn ui_locales(self, locales: impl Into<String>) -> Self
Trait Implementations§
Source§impl Debug for AuthorizeParams
impl Debug for AuthorizeParams
Source§impl Default for AuthorizeParams
impl Default for AuthorizeParams
Source§fn default() -> AuthorizeParams
fn default() -> AuthorizeParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthorizeParams
impl RefUnwindSafe for AuthorizeParams
impl Send for AuthorizeParams
impl Sync for AuthorizeParams
impl Unpin for AuthorizeParams
impl UnsafeUnpin for AuthorizeParams
impl UnwindSafe for AuthorizeParams
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