Struct lightspeed_core::service::auth::LsAuthService
source · pub struct LsAuthService { /* private fields */ }
Implementations§
source§impl LsAuthService
impl LsAuthService
pub fn new<T: RolesProvider>(roles_provider: T) -> LsAuthService
pub fn auth<Id: IdType + MaybeWeb>(&self, auth: Auth<Id>) -> AuthContext<'_, Id>
Trait Implementations§
source§impl Clone for LsAuthService
impl Clone for LsAuthService
source§fn clone(&self) -> LsAuthService
fn clone(&self) -> LsAuthService
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LsAuthService
impl RefUnwindSafe for LsAuthService
impl Send for LsAuthService
impl Sync for LsAuthService
impl Unpin for LsAuthService
impl UnwindSafe for LsAuthService
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