pub struct ForgetPassword;Expand description
The older Better Auth name for /request-password-reset.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for ForgetPassword
impl<D: Adapter> Endpoint<D> for ForgetPassword
const METHOD: Method = Method::POST
const PATH: &'static str = "/forget-password"
type Access = Public
type Input = RequestPasswordResetInput
type Output = RequestPasswordResetOutput
async fn call( &self, ctx: Ctx<D, Public>, input: RequestPasswordResetInput, ) -> Result<Self::Output, AuthError>
Auto Trait Implementations§
impl Forget for ForgetPassword
impl Freeze for ForgetPassword
impl Move for ForgetPassword
impl RefUnwindSafe for ForgetPassword
impl Send for ForgetPassword
impl Sync for ForgetPassword
impl Unpin for ForgetPassword
impl UnsafeUnpin for ForgetPassword
impl UnwindSafe for ForgetPassword
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