[−][src]Trait lightspeed_auth::repository::AuthRepositoryManager
Associated Types
type Conn: SqlConnectionAsync
type C3P0: C3p0PoolAsync<CONN = Self::Conn>
type AuthAccountRepo: AuthAccountRepository<Conn = Self::Conn>
type TokenRepo: TokenRepository<Conn = Self::Conn>
Required methods
fn c3p0(&self) -> &Self::C3P0
#[must_use]fn start<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn auth_account_repo(&self) -> Self::AuthAccountRepo
fn token_repo(&self) -> Self::TokenRepo
Implementors
impl AuthRepositoryManager for PgAuthRepositoryManager
[src]
type Conn = PgConnectionAsync
type C3P0 = PgC3p0PoolAsync
type AuthAccountRepo = PgAuthAccountRepository
type TokenRepo = PgTokenRepository
fn c3p0(&self) -> &PgC3p0PoolAsync
[src]
fn start<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,