pub struct AuthRequestsApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl AuthRequestsApiClient
impl AuthRequestsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl AuthRequestsApi for AuthRequestsApiClient
impl AuthRequestsApi for AuthRequestsApiClient
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/{id}
Source§fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /auth-requests
Source§fn get_pending_auth_requests<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PendingAuthRequestResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_pending_auth_requests<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PendingAuthRequestResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/pending
Source§fn get_response<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
code: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_response<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
code: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /auth-requests/{id}/response
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /auth-requests
Source§fn post_admin_request<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_admin_request<'a, 'life0, 'async_trait>(
&'life0 self,
auth_request_create_request_model: Option<AuthRequestCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /auth-requests/admin-request
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
auth_request_update_request_model: Option<AuthRequestUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
auth_request_update_request_model: Option<AuthRequestUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AuthRequestResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /auth-requests/{id}
Auto Trait Implementations§
impl Freeze for AuthRequestsApiClient
impl !RefUnwindSafe for AuthRequestsApiClient
impl Send for AuthRequestsApiClient
impl Sync for AuthRequestsApiClient
impl Unpin for AuthRequestsApiClient
impl UnsafeUnpin for AuthRequestsApiClient
impl !UnwindSafe for AuthRequestsApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more