// Defaults sets all optional handler's values to sane defaults.
Defaults sets all optional handler's values to sane defaults.
// Defaults sets all optional handler ' s values to sane defaults .
func (h *Handler) Defaults() {
	h.session.duration = SessionDuration
	h.token.verif = VerifLifetime
	h.token.recov = RecovLifetime
	h.ext.parse = DefaultParser
	h.ext.create = DefaultCreator
	h.ext.loginCheck = DefaultLoginCheck(true)
	h.ext.deleteCheck = DefaultDeleteCheck
}
func ( h * Handler ) Defaults ( ) { h . session . duration = SessionDuration h . token . verif = VerifLifetime h . token . recov = RecovLifetime h . ext . parse = DefaultParser h . ext . create = DefaultCreator h . ext . loginCheck = DefaultLoginCheck ( true ) h . ext . deleteCheck = DefaultDeleteCheck }
Defaults sets all optional handler's values to sane defaults.
Defaults sets all optional handler ' s values to sane defaults .