14 lines
411 B
C
14 lines
411 B
C
|
#ifndef __AUTHMODEL_H__
|
||
|
#define __AUTHMODEL_H__
|
||
|
|
||
|
#include <Wt/Auth/AuthModel.h>
|
||
|
|
||
|
class AuthModel : public Wt::Auth::AuthModel {
|
||
|
public:
|
||
|
static constexpr auto CookiePath = "/";
|
||
|
AuthModel(const Wt::Auth::AuthService &baseAuth, Wt::Auth::AbstractUserDatabase &users);
|
||
|
Wt::Auth::User processAuthToken() final;
|
||
|
void setRememberMeCookie(const Wt::Auth::User &user) final;
|
||
|
};
|
||
|
|
||
|
#endif // __AUTHMODEL_H__
|