pub struct AuthSchemeHelper;Expand description
Helper functions for creating connection states with different auth schemes
Implementations§
Source§impl AuthSchemeHelper
impl AuthSchemeHelper
Sourcepub fn oauth1(config: Value) -> ConnectionState
pub fn oauth1(config: Value) -> ConnectionState
Create OAuth 1.0 connection state
Sourcepub fn oauth2(config: Value) -> ConnectionState
pub fn oauth2(config: Value) -> ConnectionState
Create OAuth 2.0 connection state
Sourcepub fn composio_link(config: Value) -> ConnectionState
pub fn composio_link(config: Value) -> ConnectionState
Create Composio Link connection state
Sourcepub fn api_key(config: Value) -> ConnectionState
pub fn api_key(config: Value) -> ConnectionState
Create API Key connection state
Sourcepub fn basic(config: Value) -> ConnectionState
pub fn basic(config: Value) -> ConnectionState
Create Basic auth connection state
Sourcepub fn bearer_token(config: Value) -> ConnectionState
pub fn bearer_token(config: Value) -> ConnectionState
Create Bearer token connection state
Sourcepub fn google_service_account(config: Value) -> ConnectionState
pub fn google_service_account(config: Value) -> ConnectionState
Create Google Service Account connection state
Sourcepub fn no_auth(config: Value) -> ConnectionState
pub fn no_auth(config: Value) -> ConnectionState
Create No Auth connection state
Sourcepub fn calcom_auth(config: Value) -> ConnectionState
pub fn calcom_auth(config: Value) -> ConnectionState
Create Cal.com auth connection state
Sourcepub fn billcom_auth(config: Value) -> ConnectionState
pub fn billcom_auth(config: Value) -> ConnectionState
Create Bill.com auth connection state
Sourcepub fn basic_with_jwt(config: Value) -> ConnectionState
pub fn basic_with_jwt(config: Value) -> ConnectionState
Create Basic with JWT connection state
Auto Trait Implementations§
impl Freeze for AuthSchemeHelper
impl RefUnwindSafe for AuthSchemeHelper
impl Send for AuthSchemeHelper
impl Sync for AuthSchemeHelper
impl Unpin for AuthSchemeHelper
impl UnsafeUnpin for AuthSchemeHelper
impl UnwindSafe for AuthSchemeHelper
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