pub trait TeaclaveAuthenticationApi: Send + Sync + 'static {
    fn user_register<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UserRegisterRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn user_update<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UserUpdateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn user_login<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UserLoginRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<UserLoginResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn user_change_password<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UserChangePasswordRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn reset_user_password<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ResetUserPasswordRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ResetUserPasswordResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delete_user<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteUserRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_users<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListUsersRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListUsersResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with TeaclaveAuthenticationApiServer.

Required Methods

Implementors