pub struct GitHubProvider { /* private fields */ }
Trait Implementations§
Source§impl Clone for GitHubProvider
impl Clone for GitHubProvider
Source§fn clone(&self) -> GitHubProvider
fn clone(&self) -> GitHubProvider
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 OAuthProvider for GitHubProvider
impl OAuthProvider for GitHubProvider
type Config = GithubConfig
type UserInfo = GitHubUser
fn new(config: Self::Config) -> Self
fn validate_callback<'life0, 'async_trait>(
&'life0 self,
code: String,
) -> Pin<Box<dyn Future<Output = Result<ValidationResult<Self::UserInfo>, OAuthError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for GitHubProvider
impl !RefUnwindSafe for GitHubProvider
impl Send for GitHubProvider
impl Sync for GitHubProvider
impl Unpin for GitHubProvider
impl !UnwindSafe for GitHubProvider
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