Struct splinter::oauth::GithubOAuthClientBuilder [−][src]
pub struct GithubOAuthClientBuilder { /* fields omitted */ }Expand description
Builds a new OAuthClient with GitHub’s authorization and token URLs.
Implementations
Sets the client ID for the OAuth2 provider.
Sets the client secret for the OAuth2 provider.
Sets the redirect URL for the OAuth2 provider.
pub fn with_inflight_request_store(
self,
inflight_request_store: Box<dyn InflightOAuthRequestStore>
) -> Self
pub fn with_inflight_request_store(
self,
inflight_request_store: Box<dyn InflightOAuthRequestStore>
) -> SelfSets the in-flight request store in order to store values between requests to and from the OAuth2 provider.
Builds an OAuthClient.
Errors
Returns an OAuthClientBuildError if there are required fields missing, or any URL’s
provided are invalid.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GithubOAuthClientBuilderimpl Send for GithubOAuthClientBuilderimpl Sync for GithubOAuthClientBuilderimpl Unpin for GithubOAuthClientBuilderimpl !UnwindSafe for GithubOAuthClientBuilderBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Convert self to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, Convert &self to an expression for Diesel’s query builder. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V