pub struct HttpOAuthEnvironment { /* private fields */ }Expand description
OAuthEnvironment over HTTP, with a pluggable user agent.
Implementations§
Trait Implementations§
Source§impl Clone for HttpOAuthEnvironment
impl Clone for HttpOAuthEnvironment
Source§impl Debug for HttpOAuthEnvironment
impl Debug for HttpOAuthEnvironment
Source§impl OAuthEnvironment for HttpOAuthEnvironment
impl OAuthEnvironment for HttpOAuthEnvironment
Source§type Token = HttpTokenEndpoint
type Token = HttpTokenEndpoint
Where authorization codes are redeemed, bound to one endpoint.
Source§fn token_endpoint(&self, url: &str) -> HttpTokenEndpoint
fn token_endpoint(&self, url: &str) -> HttpTokenEndpoint
A token endpoint at
url.Sends the user to
authorization_url and returns where they came back. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HttpOAuthEnvironment
impl !UnwindSafe for HttpOAuthEnvironment
impl Freeze for HttpOAuthEnvironment
impl Send for HttpOAuthEnvironment
impl Sync for HttpOAuthEnvironment
impl Unpin for HttpOAuthEnvironment
impl UnsafeUnpin for HttpOAuthEnvironment
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