pub struct AuthorizationUrlBuilder<'a> { /* private fields */ }Expand description
Authorization URL builder returned by OAuth2Client::authorization_url.
Implementations§
Source§impl AuthorizationUrlBuilder<'_>
impl AuthorizationUrlBuilder<'_>
pub fn code_verifier(self, code_verifier: impl Into<String>) -> Self
pub fn scope(self, scope: impl Into<String>) -> Self
pub fn scopes(self, scopes: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn login_hint(self, login_hint: impl Into<String>) -> Self
pub fn prompt(self, prompt: impl Into<String>) -> Self
pub fn access_type(self, access_type: impl Into<String>) -> Self
pub fn response_type(self, response_type: impl Into<String>) -> Self
pub fn response_mode(self, response_mode: impl Into<String>) -> Self
pub fn claim(self, claim: impl Into<String>) -> Self
pub fn duration(self, duration: impl Into<String>) -> Self
pub fn param(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn build(self) -> Result<Url, OAuthError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AuthorizationUrlBuilder<'a>
impl<'a> !UnwindSafe for AuthorizationUrlBuilder<'a>
impl<'a> Freeze for AuthorizationUrlBuilder<'a>
impl<'a> Send for AuthorizationUrlBuilder<'a>
impl<'a> Sync for AuthorizationUrlBuilder<'a>
impl<'a> Unpin for AuthorizationUrlBuilder<'a>
impl<'a> UnsafeUnpin for AuthorizationUrlBuilder<'a>
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