ForgotPasswordRequest - ml-archive/keychain GitHub Wiki
public protocol ForgotPasswordRequest: ValidatableRequest
ValidatableRequest
static func sendToken(on request: Request, currentDate: Date = Date()) -> EventLoopFuture<Void>
associatedtype Config: KeychainConfig
static func sendToken(
_ token: String,
user: Config.JWTPayload.User,
config: Config,
request: Request
) -> EventLoopFuture<Void>
func findUser(request: Request) -> EventLoopFuture<Config.JWTPayload.User?>