pub struct AuroraAuthController;Implementations§
Source§impl AuroraAuthController
impl AuroraAuthController
Sourcepub async fn show_login(req: Request) -> Response<Body>
pub async fn show_login(req: Request) -> Response<Body>
GET /login — Menampilkan halaman login Aurora
Sourcepub async fn login(
req: Request,
form: ValidatedForm<LoginForm>,
) -> Response<Body>
pub async fn login( req: Request, form: ValidatedForm<LoginForm>, ) -> Response<Body>
POST /login — Memproses autentikasi pengguna dengan BruteForce & Audit Trail
Sourcepub async fn show_register(req: Request) -> Response<Body>
pub async fn show_register(req: Request) -> Response<Body>
GET /register — Menampilkan halaman registrasi Aurora
Sourcepub async fn register(
req: Request,
form: ValidatedForm<RegisterForm>,
) -> Response<Body>
pub async fn register( req: Request, form: ValidatedForm<RegisterForm>, ) -> Response<Body>
POST /register — Memproses pendaftaran pengguna baru
Auto Trait Implementations§
impl Forget for AuroraAuthController
impl Freeze for AuroraAuthController
impl Move for AuroraAuthController
impl RefUnwindSafe for AuroraAuthController
impl Send for AuroraAuthController
impl Sync for AuroraAuthController
impl Unpin for AuroraAuthController
impl UnsafeUnpin for AuroraAuthController
impl UnwindSafe for AuroraAuthController
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more