package models type UserAuthMethod struct { UserId string AuthMethod AuthenticationMethodType `gorm:"type:auth_method_type"` Token []byte }